com.xebialabs.deployit.plugin.generic.deployed
Class ManualProcess<D extends com.xebialabs.deployit.plugin.api.udm.Deployable>
java.lang.Object
com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
com.xebialabs.deployit.plugin.api.udm.base.BaseDeployed<D,com.xebialabs.deployit.plugin.overthere.HostContainer>
com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployed<D>
com.xebialabs.deployit.plugin.generic.deployed.ManualProcess<D>
- All Implemented Interfaces:
- com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, com.xebialabs.deployit.plugin.api.udm.Deployed<D,com.xebialabs.deployit.plugin.overthere.HostContainer>, com.xebialabs.deployit.plugin.api.udm.EmbeddedDeployedContainer<D,com.xebialabs.deployit.plugin.overthere.HostContainer>, java.io.Serializable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>
@Metadata(virtual=true,
description="A manual process that needs to be performed on a generic container")
public class ManualProcess<D extends com.xebialabs.deployit.plugin.api.udm.Deployable>- extends AbstractDeployed<D>
- See Also:
- Serialized Form
| Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem |
id, syntheticProperties, type |
| Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.EmbeddedDeployedContainer |
CONTAINER_FIELD, DEPLOYABLE_FIELD |
| Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD |
|
Method Summary |
protected boolean |
addStep(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
int order,
java.lang.String script,
java.lang.String verb)
|
protected boolean |
addStep(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
int order,
java.lang.String script,
java.lang.String verb,
ManualProcess.CheckpointInfo checkpoint)
|
protected static ManualProcess.CheckpointInfo |
checkpoint(com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
|
protected static ManualProcess.CheckpointInfo |
checkpoint(com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta,
com.xebialabs.deployit.plugin.api.deployment.specification.Operation operation)
|
protected void |
create(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
|
protected void |
destroy(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
|
void |
executeCreate(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
|
void |
executeDestroy(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
|
void |
executeModify(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
|
void |
executeNoop(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
|
java.lang.String |
getCreateScript()
|
java.lang.String |
getDestroyScript()
|
java.lang.String |
getFromAddress()
|
protected SmtpServer |
getMailServer(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx)
|
java.lang.String |
getModifyScript()
|
java.lang.String |
getNoopScript()
|
java.lang.String |
getSubject()
|
java.util.List<java.lang.String> |
getToAddresses()
|
void |
setCreateScript(java.lang.String createScript)
|
void |
setDestroyScript(java.lang.String destroyScript)
|
void |
setFromAddress(java.lang.String fromAddress)
|
void |
setModifyScript(java.lang.String modifyScript)
|
void |
setNoopScript(java.lang.String noopScript)
|
void |
setSubject(java.lang.String subject)
|
void |
setToAddresses(java.util.List<java.lang.String> toAddresses)
|
| Methods inherited from class com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployed |
controlTaskDispatch, getCreateOptions, getCreateOrder, getCreateVerb, getDeployedApplication, getDeployedAsFreeMarkerContext, getDescription, getDestroyOptions, getDestroyOrder, getDestroyVerb, getInspectClasspathResources, getInspectScript, getInspectTemplateClasspathResources, getModifyOptions, getModifyOrder, getModifyVerb, getNoopOptions, getNoopOrder, getNoopVerb, getPlanOperation, getPropertyOrContainerDefault, inspectContainer, isRestartRequired, isRestartRequiredForNoop, resolveExpression, resolveExpression, resolveExpression, resolveExpression, setCreateOptions, setCreateOrder, setCreateVerb, setDeployedApplication, setDestroyOptions, setDestroyOrder, setDestroyVerb, setInspectClasspathResources, setInspectScript, setInspectTemplateClasspathResources, setModifyOptions, setModifyOrder, setModifyVerb, setNoopOptions, setNoopOrder, setNoopVerb, setPlanOperation, setRestartRequired, setRestartRequiredForNoop |
| Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseDeployed |
getContainer, getDeployable, setContainer, setDeployable |
| Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem |
compareTo, equals, get$token, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, set$token, setId, setProperty, setSyntheticProperties, setType, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
getId, getName, getProperty, getSyntheticProperties, getSyntheticProperty, getType, hasProperty, putSyntheticProperty, setId, setProperty |
ManualProcess
public ManualProcess()
addStep
protected boolean addStep(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
int order,
java.lang.String script,
java.lang.String verb)
addStep
protected boolean addStep(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
int order,
java.lang.String script,
java.lang.String verb,
ManualProcess.CheckpointInfo checkpoint)
getMailServer
protected SmtpServer getMailServer(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx)
executeCreate
public void executeCreate(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
create
protected void create(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
executeModify
public void executeModify(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
executeDestroy
public void executeDestroy(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
destroy
protected void destroy(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
executeNoop
public void executeNoop(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
getCreateScript
public java.lang.String getCreateScript()
setCreateScript
public void setCreateScript(java.lang.String createScript)
getModifyScript
public java.lang.String getModifyScript()
setModifyScript
public void setModifyScript(java.lang.String modifyScript)
getDestroyScript
public java.lang.String getDestroyScript()
setDestroyScript
public void setDestroyScript(java.lang.String destroyScript)
getNoopScript
public java.lang.String getNoopScript()
setNoopScript
public void setNoopScript(java.lang.String noopScript)
getToAddresses
public java.util.List<java.lang.String> getToAddresses()
setToAddresses
public void setToAddresses(java.util.List<java.lang.String> toAddresses)
getSubject
public java.lang.String getSubject()
setSubject
public void setSubject(java.lang.String subject)
getFromAddress
public java.lang.String getFromAddress()
setFromAddress
public void setFromAddress(java.lang.String fromAddress)
checkpoint
protected static ManualProcess.CheckpointInfo checkpoint(com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
checkpoint
protected static ManualProcess.CheckpointInfo checkpoint(com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta,
com.xebialabs.deployit.plugin.api.deployment.specification.Operation operation)