com.xebialabs.deployit.task.deployment
Class UndeploymentTask

java.lang.Object
  extended by com.xebialabs.deployit.task.Task
      extended by com.xebialabs.deployit.task.DeploymentTask
          extended by com.xebialabs.deployit.task.deployment.UndeploymentTask
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable

public class UndeploymentTask
extends DeploymentTask

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.xebialabs.deployit.task.DeploymentTask
DeploymentTask.DeploymentType
 
Nested classes/interfaces inherited from class com.xebialabs.deployit.task.Task
Task.State, Task.TaskStateChangeEvent
 
Field Summary
 
Fields inherited from class com.xebialabs.deployit.task.DeploymentTask
repositoryService
 
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)
           
 
Method Summary
 void doAfterTaskStateChangedToDone()
          override this method if something needs to be executed/saved/deleted after the state is changed to DONE
 DeploymentTask.DeploymentType getDeploymentType()
           
 void performPreFlightChecks()
          Override this method when pre-flight checks need to be performed for task.
 
Methods inherited from class com.xebialabs.deployit.task.DeploymentTask
destroy, getApplicationName, getApplicationVersion, getEnvironment, initFromDeployment, setApplicationName, setApplicationVersion, setEnvironment
 
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
 

Constructor Detail

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)
Method Detail

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