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

DeploymentStatus

public interface DeploymentStatus implements com.sun.appserv.management.base.OperationStatus
Final status of a deployment. See {@link com.sun.appserv.management.deploy.DeploymentMgr}.getFinalDeploymentStatus()

Fields Summary
public static final String
DEPLOYMENT_STATUS_CLASS_NAME
Value of the MapCapable.MAP_CAPABLE_CLASS_NAME_KEY when turned into a Map.
public final int
STATUS_CODE_NOT_INITIALIZED
Status code indicating failure due to improper initialization.
public static final String
STAGE_STATUS_KEY
public static final String
STAGE_STATUS_MESSAGE_KEY
public static final String
SUB_STAGES_KEY
public static final String
STAGE_THROWABLE_KEY
public static final String
STAGE_DESCRIPTION_KEY
public static final String
PARENT_KEY
public static final String
ADDITIONAL_STATUS_KEY
public static final String
MODULE_ID_KEY
Key within the Map of AdditionalStatus. The unique module id of the deployed component.
Constructors Summary
Methods Summary
public java.util.MapgetAdditionalStatus()

return
the map storing additional properties for this status

public com.sun.appserv.management.deploy.DeploymentStatusgetParent()

return
the parent status for this status if any

public java.lang.StringgetStageDescription()

return
a meaningful i18ned stage description

public intgetStageStatus()
Legal status codes include:
  • OperationStatus#STATUS_CODE_SUCCESS
  • OperationStatus#STATUS_CODE_FAILURE
  • OperationStatus#STATUS_CODE_WARNING
  • #STATUS_CODE_NOT_INITIALIZED

return
the status for this stage (ignoring sub stages status)

public java.lang.StringgetStageStatusMessage()

return
a meaningful i18ned reason for failure or warning

public java.lang.ThrowablegetStageThrowable()

return
the exception if an exception was thrown during the execution of the stage

public java.util.IteratorgetSubStages()
Get the sub stages for this deployment status, each of which has been converted into a Map. This method is included for backward compatibility; please use {@link #getSubStagesList} instead.

return
an Iterator for the sub stages
deprecated

public java.util.ListgetSubStagesList()
Get the sub stages for this deployment status. The list may not be modified.

return
List<DeploymentStatus>

public voidsetParent(com.sun.appserv.management.deploy.DeploymentStatus parent)
set the parent status for this status if any

param
parent DeploymentStatus