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>, 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.Deployed |
CONTAINER_FIELD, DEPLOYABLE_FIELD |
| Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD |
| Methods inherited from class com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployed |
controlTaskDispatch, getCreateOrder, getCreateVerb, getDeployedApplication, getDeployedAsFreeMarkerContext, getDescription, getDestroyOrder, getDestroyVerb, getInspectClasspathResources, getInspectScript, getInspectTemplateClasspathResources, getModifyOrder, getModifyVerb, getNoopOrder, getNoopVerb, getPlanOperation, getPropertyOrContainerDefault, inspectContainer, isRestartRequired, isRestartRequiredForNoop, resolveExpression, resolveExpression, resolveExpression, setCreateOrder, setCreateVerb, setDeployedApplication, setDestroyOrder, setDestroyVerb, setInspectClasspathResources, setInspectScript, setInspectTemplateClasspathResources, setModifyOrder, setModifyVerb, 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, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, 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)
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 d)
executeModify
public void executeModify(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta d)
executeDestroy
public void executeDestroy(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
com.xebialabs.deployit.plugin.api.deployment.specification.Delta d)
executeNoop
public void executeNoop(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx)
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)