public class PluginObjectResults
extends java.lang.Object
Constructor and Description |
---|
PluginObjectResults(WorkflowExecutionContext context)
Creates a new PluginObjectResults with a current timestamp for start time and with all the objects in it set to NOT_ATTEMPTED.
|
PluginObjectResults(WorkflowExecutionContext context,
DeployStatusEnum pInitialStatus)
Creates a new PluginObjectResults with a current timestamp for start time and with all the objects in it set to the value of pInitialStatus.
|
Modifier and Type | Method and Description |
---|---|
void |
addPackageObject(PackageObject pPo,
DeployStatusEnum pInitialStatus) |
java.util.Map<java.lang.Long,DeployObjectResult> |
getDeployResultsMap() |
void |
setStartTimeForPackageObject(PackageObject pPo)
Sets the starttime for a package object.
|
void |
setStartTimeForProjectObject(ProjectObject pPo)
Updates the starttime for a project object.
|
void |
updateStatusForPackageObject(PackageObject pPo,
DeployStatusEnum pStatus)
Updates the status, and sets the endtime.
|
void |
updateStatusForProjectObject(ProjectObject pPo,
DeployStatusEnum pStatus)
Updates the status, and sets the endtime.
|
void |
writeXml()
Please call this from a finally block wrapping your execute method's contents.
|
public PluginObjectResults(WorkflowExecutionContext context)
context
- public PluginObjectResults(WorkflowExecutionContext context, DeployStatusEnum pInitialStatus)
context
- pInitialStatus
- public java.util.Map<java.lang.Long,DeployObjectResult> getDeployResultsMap()
public void addPackageObject(PackageObject pPo, DeployStatusEnum pInitialStatus)
public void updateStatusForPackageObject(PackageObject pPo, DeployStatusEnum pStatus) throws FlexCheckedException
pPo
- pStatus
- FlexCheckedException
public void updateStatusForProjectObject(ProjectObject pPo, DeployStatusEnum pStatus) throws FlexCheckedException
pPo
- pStatus
- FlexCheckedException
public void setStartTimeForPackageObject(PackageObject pPo) throws FlexCheckedException
pPo
- FlexCheckedException
public void setStartTimeForProjectObject(ProjectObject pPo) throws FlexCheckedException
pPo
- FlexCheckedException
public void writeXml() throws FlexCheckedException
FlexCheckedException