public void fireInstallProgressEvent ( int progress , InstallAsset installAsset ) throws InstallException { if ( installAsset . isServerPackage ( ) ) fireProgressEvent ( InstallProgressEvent . DEPLOY , progress , Messages . INSTALL_KERNEL_MESSAGES . getLogMessage ( "STATE_DEPLOYING" , installAsset . toString ( ) ) , true ) ; else if ( installAsset . isFeature ( ) ) { ESAAsset esaa = ( ( ESAAsset ) installAsset ) ; if ( esaa . isPublic ( ) ) { String resourceName = ( esaa . getShortName ( ) == null ) ? esaa . getDisplayName ( ) : esaa . getShortName ( ) ; fireProgressEvent ( InstallProgressEvent . INSTALL , progress , Messages . INSTALL_KERNEL_MESSAGES . getLogMessage ( "STATE_INSTALLING" , resourceName ) , true ) ; } else if ( ! firePublicAssetOnly ) { fireProgressEvent ( InstallProgressEvent . INSTALL , progress , Messages . INSTALL_KERNEL_MESSAGES . getLogMessage ( "STATE_INSTALLING_DEPENDENCY" ) , true ) ; } } else { fireProgressEvent ( InstallProgressEvent . INSTALL , progress , Messages . INSTALL_KERNEL_MESSAGES . getLogMessage ( "STATE_INSTALLING" , installAsset . toString ( ) ) , true ) ; } }
Fires an install progress event to be displayed