com.xebialabs.deployit.task.deployment
Class UndeploymentTask
java.lang.Object
com.xebialabs.deployit.task.Task
com.xebialabs.deployit.task.DeploymentTask
com.xebialabs.deployit.task.deployment.UndeploymentTask
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Runnable
public class UndeploymentTask
- extends DeploymentTask
- See Also:
- Serialized Form
|
Constructor Summary |
UndeploymentTask(com.xebialabs.deployit.plugin.api.deployment.specification.DeltaSpecification specification,
com.xebialabs.deployit.plugin.api.udm.DeployedApplication existingDeployment,
java.util.List<? extends com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentStep> steps,
RepositoryService repositoryService,
WorkDir workDir)
|
| Methods inherited from class com.xebialabs.deployit.task.Task |
abort, cancel, doAfterTaskStateChangedToAborted, executeSteps, getCompletionDate, getCurrentStepNr, getFailureCount, getId, getLabel, getNrOfSteps, getOwner, getOwnerCredentials, getStartDate, getState, getStep, getSteps, getWrappingTask, isExecuting, isReadyForExecution, moveStep, processAfterRecovery, run, setId, setLabel, setOwner, setOwnerCredentials, setWrappingTask, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UndeploymentTask
public UndeploymentTask(com.xebialabs.deployit.plugin.api.deployment.specification.DeltaSpecification specification,
com.xebialabs.deployit.plugin.api.udm.DeployedApplication existingDeployment,
java.util.List<? extends com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentStep> steps,
RepositoryService repositoryService,
WorkDir workDir)
performPreFlightChecks
public void performPreFlightChecks()
- Description copied from class:
Task
- Override this method when pre-flight checks need to be performed for task.
- Overrides:
performPreFlightChecks in class Task
doAfterTaskStateChangedToDone
public void doAfterTaskStateChangedToDone()
- Description copied from class:
Task
- override this method if something needs to be executed/saved/deleted after the state is changed to DONE
- Overrides:
doAfterTaskStateChangedToDone in class Task
getDeploymentType
public DeploymentTask.DeploymentType getDeploymentType()
- Specified by:
getDeploymentType in class DeploymentTask