public String showStatus ( ) { // Update the currently deployed components. updateDeployedComponents ( ) ; String output = "" ; output += "<p>Deployable Units Waiting For Install:</p>" ; for ( DeployableUnit waitingDU : waitingForInstallDUs ) { output += "+-- " + waitingDU . getDeploymentInfoShortName ( ) + "<br>" ; for ( String dependency : waitingDU . getExternalDependencies ( ) ) { if ( ! deployedComponents . contains ( dependency ) ) dependency += " <strong>MISSING!</strong>" ; output += " +-- depends on " + dependency + "<br>" ; } } output += "<p>Deployable Units Waiting For Uninstall:</p>" ; for ( DeployableUnit waitingDU : waitingForUninstallDUs ) { output += "+-- " + waitingDU . getDeploymentInfoShortName ( ) + "<br>" ; } return output ; }
Method for showing current status of the Deployment Manager .