FileDocCategorySizeDatePackage
DeploymentProgress.javaAPI DocGlassfish v2 API3861Fri May 04 22:30:48 BST 2007com.sun.appserv.management.deploy

DeploymentProgress

public interface DeploymentProgress implements com.sun.appserv.management.base.MapCapable
Interface to provide deployment feedback while deployment is executing in the server backend. This interface may be instantiated by using routines in {@link com.sun.appserv.management.deploy.DeploymentSupport}

Fields Summary
public static final String
DEPLOYMENT_PROGRESS_CLASS_NAME
Value of the MAP_CAPABLE_TYPE_KEY when turned into a Map.
public static final String
PROGRESS_PERCENT_KEY
Key for the progress percent as returned by getProgressPercent().
public static final String
DESCRIPTION_KEY
Key for the Description as returned by getDescription().
public static final String
LOCALIZED_DESCRIPTION_KEY_BASE
Key prefix for the Description as returned by getDescription(). The key for a given locale is LOCALIZED_DESCRIPTION_KEY_BASE + "_" + Locale.toString()
Constructors Summary
Methods Summary
public java.lang.StringgetDescription()

return
the last meaningful description of the current deployment operation

public java.lang.StringgetLocalizedDescription(java.util.Locale locale)

return
the last meaningful localized description of the current deployment operation.

public bytegetProgressPercent()

return
the deployment progress number between 0 and 100 (deployment finished). This number is purely indicative and cannot be used to calculate actual remaining time
return
number from 0 to 100 indicating status