com.xebialabs.deployit.task
Class DeploymentTask
java.lang.Object
com.xebialabs.deployit.task.Task
com.xebialabs.deployit.task.DeploymentTask
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Runnable
- Direct Known Subclasses:
- InitialDeploymentTask, UndeploymentTask, UpgradeDeploymentTask
public abstract class DeploymentTask
- extends Task
- See Also:
- Serialized Form
| Methods inherited from class com.xebialabs.deployit.task.Task |
abort, cancel, doAfterTaskStateChangedToAborted, doAfterTaskStateChangedToDone, executeSteps, getCompletionDate, getCurrentStepNr, getFailureCount, getId, getLabel, getNrOfSteps, getOwner, getOwnerCredentials, getStartDate, getState, getStep, getSteps, getWrappingTask, isExecuting, isReadyForExecution, moveStep, performPreFlightChecks, 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 |
repositoryService
protected final transient RepositoryService repositoryService
DeploymentTask
public DeploymentTask(java.util.List<? extends com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentStep> steps,
RepositoryService repositoryService,
WorkDir... workDirs)
DeploymentTask
protected DeploymentTask(java.util.List<TaskStep> steps,
Task.State state)
destroy
public void destroy()
- Destroys a task. Cleans up any temporary files needed for execution of the task.
- Overrides:
destroy in class Task
initFromDeployment
protected void initFromDeployment(com.xebialabs.deployit.plugin.api.udm.DeployedApplication deployment)
getApplicationName
public java.lang.String getApplicationName()
setApplicationName
public void setApplicationName(java.lang.String applicationName)
getApplicationVersion
public java.lang.String getApplicationVersion()
setApplicationVersion
public void setApplicationVersion(java.lang.String applicationVersion)
getEnvironment
public java.lang.String getEnvironment()
setEnvironment
public void setEnvironment(java.lang.String environment)
getDeploymentType
public abstract DeploymentTask.DeploymentType getDeploymentType()