com.xebialabs.deployit.plugin.generic.deployed
Class ExecutedScript<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.ExecutedScript<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>
- Direct Known Subclasses:
- ExecutedScriptWithDerivedArtifact
@Metadata(virtual=true,
description="A script executed on a generic container")
public class ExecutedScript<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,
ExecutedScript.CheckpointInfo checkpoint,
java.util.Set<java.lang.String> stepOptions)
|
protected boolean |
addStep(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
int order,
java.lang.String script,
java.lang.String verb,
ExecutedScript.CheckpointInfo checkpoint,
java.util.Set<java.lang.String> stepOptions,
com.xebialabs.deployit.plugin.api.udm.Deployed<?,?> previousDeployed)
|
protected static ExecutedScript.CheckpointInfo |
checkpoint(com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
|
protected static ExecutedScript.CheckpointInfo |
checkpoint(com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta,
com.xebialabs.deployit.plugin.api.deployment.specification.Operation operation)
|
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)
|
protected com.xebialabs.overthere.OverthereFile |
getArtifactIfPresent()
|
java.util.Set<java.lang.String> |
getClasspathResources()
|
java.lang.String |
getCreateScript()
|
java.lang.String |
getDestroyScript()
|
java.lang.String |
getModifyScript()
|
java.lang.String |
getNoopScript()
|
java.lang.String |
getRemoteWorkingDirectoryPath()
|
java.util.Set<java.lang.String> |
getTemplateClasspathResources()
|
boolean |
isRetainRemoteWorkingDirectory()
|
void |
setClasspathResources(java.util.Set<java.lang.String> classpathResources)
|
void |
setCreateScript(java.lang.String createScript)
|
void |
setDestroyScript(java.lang.String destroyScript)
|
void |
setModifyScript(java.lang.String modifyScript)
|
void |
setNoopScript(java.lang.String noopScript)
|
void |
setRemoteWorkingDirectoryPath(java.lang.String remoteWorkingDirectoryPath)
|
void |
setRetainRemoteWorkingDirectory(boolean retainRemoteWorkingDirectory)
|
void |
setTemplateClasspathResources(java.util.Set<java.lang.String> templateClasspathResources)
|
| 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 |
ExecutedScript
public ExecutedScript()
addStep
protected boolean addStep(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
int order,
java.lang.String script,
java.lang.String verb,
ExecutedScript.CheckpointInfo checkpoint,
java.util.Set<java.lang.String> stepOptions)
addStep
protected boolean addStep(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
int order,
java.lang.String script,
java.lang.String verb,
ExecutedScript.CheckpointInfo checkpoint,
java.util.Set<java.lang.String> stepOptions,
com.xebialabs.deployit.plugin.api.udm.Deployed<?,?> previousDeployed)
getArtifactIfPresent
protected com.xebialabs.overthere.OverthereFile getArtifactIfPresent()
executeCreate
public void executeCreate(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)
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)
getRemoteWorkingDirectoryPath
public java.lang.String getRemoteWorkingDirectoryPath()
setRemoteWorkingDirectoryPath
public void setRemoteWorkingDirectoryPath(java.lang.String remoteWorkingDirectoryPath)
isRetainRemoteWorkingDirectory
public boolean isRetainRemoteWorkingDirectory()
setRetainRemoteWorkingDirectory
public void setRetainRemoteWorkingDirectory(boolean retainRemoteWorkingDirectory)
getClasspathResources
public java.util.Set<java.lang.String> getClasspathResources()
setClasspathResources
public void setClasspathResources(java.util.Set<java.lang.String> classpathResources)
getTemplateClasspathResources
public java.util.Set<java.lang.String> getTemplateClasspathResources()
setTemplateClasspathResources
public void setTemplateClasspathResources(java.util.Set<java.lang.String> templateClasspathResources)
checkpoint
protected static ExecutedScript.CheckpointInfo checkpoint(com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
checkpoint
protected static ExecutedScript.CheckpointInfo checkpoint(com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta,
com.xebialabs.deployit.plugin.api.deployment.specification.Operation operation)