com.xebialabs.deployit.task.deployment
Class InitialDeploymentTask

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

public class InitialDeploymentTask
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
InitialDeploymentTask(com.xebialabs.deployit.plugin.api.deployment.specification.DeltaSpecification specification, 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, getEnvironmentId, 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, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitialDeploymentTask

public InitialDeploymentTask(com.xebialabs.deployit.plugin.api.deployment.specification.DeltaSpecification specification,
                             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