public void install ( InstallAsset installAsset , List < File > filesInstalled , Collection < String > featuresToBeInstalled , ExistsAction existsAction , Set < String > executableFiles , Map < String , Set < String > > extattrFiles , boolean downloadDependencies , RestRepositoryConnectionProxy proxy , ChecksumsManager checksumsManager ) throws IOException , InstallException { if ( installAsset . isFeature ( ) ) ESAAdaptor . install ( product , ( ESAAsset ) installAsset , filesInstalled , featuresToBeInstalled , existsAction , executableFiles , extattrFiles , checksumsManager ) ; else if ( installAsset . isFix ( ) ) FixAdaptor . install ( product , ( FixAsset ) installAsset ) ; else if ( installAsset . isServerPackage ( ) ) if ( installAsset instanceof JarAsset ) { ServerPackageJarAdaptor . install ( product , ( JarAsset ) installAsset , filesInstalled , downloadDependencies , proxy ) ; } else { ServicePackageAdaptor . install ( product , ( ServerPackageAsset ) installAsset , filesInstalled , existsAction ) ; } else if ( installAsset . isSample ( ) ) ServerPackageJarAdaptor . install ( product , ( JarAsset ) installAsset , filesInstalled , downloadDependencies , proxy ) ; else if ( installAsset . isOpenSource ( ) ) ServerPackageJarAdaptor . install ( product , ( JarAsset ) installAsset , filesInstalled , downloadDependencies , proxy ) ; }
Determines which install method to call based on the type of installAsset