public void preCheck ( UninstallAsset uninstallAsset ) throws InstallException { if ( uninstallAsset . getType ( ) . equals ( UninstallAssetType . feature ) ) { ESAAdaptor . preCheck ( uninstallAsset , uninstallAsset . getProvisioningFeatureDefinition ( ) , getBaseDir ( uninstallAsset . getProvisioningFeatureDefinition ( ) ) ) ; } else if ( uninstallAsset . getType ( ) . equals ( UninstallAssetType . fix ) ) { FixAdaptor . preCheck ( uninstallAsset . getIFixInfo ( ) , product . getInstallDir ( ) ) ; } }
Determines which preCheck method to call based on the uninstalLAsset type