public class DFDeploymentStatus extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DFDeploymentStatus.Status
Possible status for a stage or overall deployment status
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_ROOT |
static String |
COUNT |
static String |
KEY_SEPARATOR |
static String |
MODULE_ID |
static String |
MODULE_TYPE |
static String |
SUBMODULE_COUNT |
static String |
WSDL_DIRECTORY |
static String |
WSDL_FILE_ENTRIES |
static String |
WSDL_LOCATION |
static String |
WSDL_PUBLISH_URL |
| Constructor and Description |
|---|
DFDeploymentStatus()
Creates a new uninitialized DFDeploymentStatus instance
|
DFDeploymentStatus(DFDeploymentStatus parent)
Creates a new uninitialized DFDeploymentStatus instance as a
sub stage deployment status of the passed DFDeploymentStatus
|
public static final String CONTEXT_ROOT
public static final String KEY_SEPARATOR
public static final String MODULE_ID
public static final String MODULE_TYPE
public static final String SUBMODULE_COUNT
public static final String WSDL_PUBLISH_URL
public static final String WSDL_LOCATION
public static final String WSDL_DIRECTORY
public static final String WSDL_FILE_ENTRIES
public static final String COUNT
public DFDeploymentStatus()
public DFDeploymentStatus(DFDeploymentStatus parent)
parent - DFDeploymentStatuspublic DFDeploymentStatus.Status getStatus()
public void addSubStage(DFDeploymentStatus subStage)
subStage - the sub stage deployment statuspublic Iterator<DFDeploymentStatus> getSubStages()
public void setStageStatus(DFDeploymentStatus.Status status)
status - the status as defined in the constantspublic DFDeploymentStatus.Status getStageStatus()
public Throwable getStageException()
public String getStageIdentifier()
public String getStageDescription()
public String getStageStatusMessage()
public void setStageException(Throwable throwable)
throwable - public void setStageDescription(String string)
string - for a meaningful i18ned stage descriptionpublic void setStageStatusMessage(String string)
string - for a meaningful i18ned reason for stage
warning or failurepublic DFDeploymentStatus getStageStatusForLevel(DFDeploymentStatus.Status level)
public DFDeploymentStatus getParent()
public void setParent(DFDeploymentStatus parent)
public DFDeploymentStatus getMainStatus()
public void addProperty(String propertyName, String propertyValue)
public Map getAdditionalStatus()
public String getAllStageMessages()
public static void getAllStageMessages(DFDeploymentStatus status, StringBuilder sb)
public void setAdditionalStatus(Map additionalStatus)
public String toString()
public static Iterator<DFDeploymentStatus> getAllStageStatusForLevel(DFDeploymentStatus status, DFDeploymentStatus.Status level)
status - parent status it needs to iterate throughlevel - status level it's looking forpublic static void parseDeploymentStatus(DFDeploymentStatus status, PrintWriter pw)
Copyright © 2021. All rights reserved.