com.xebialabs.deployit.plugin.generic.deployed
Class ExecutedScriptWithDerivedArtifact<D extends com.xebialabs.deployit.plugin.api.udm.DeployableArtifact>
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>
com.xebialabs.deployit.plugin.generic.deployed.ExecutedScriptWithDerivedArtifact<D>
- All Implemented Interfaces:
- com.xebialabs.deployit.plugin.api.udm.artifact.Artifact, com.xebialabs.deployit.plugin.api.udm.artifact.DerivedArtifact<D>, 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>
@Metadata(virtual=true,
description="A script executed on a generic container whose deployable artifact supports placeholder replacement")
public class ExecutedScriptWithDerivedArtifact<D extends com.xebialabs.deployit.plugin.api.udm.DeployableArtifact>- extends ExecutedScript<D>
- implements com.xebialabs.deployit.plugin.api.udm.artifact.DerivedArtifact<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.ConfigurationItem |
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD |
| Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.Deployed |
CONTAINER_FIELD, DEPLOYABLE_FIELD |
|
Method Summary |
protected com.xebialabs.overthere.OverthereFile |
getArtifactIfPresent()
|
com.xebialabs.overthere.OverthereFile |
getFile()
|
java.util.Map<java.lang.String,java.lang.String> |
getPlaceholders()
|
D |
getSourceArtifact()
|
void |
initFile(com.xebialabs.deployit.plugin.api.udm.artifact.PlaceholderReplacer replacer)
|
void |
setFile(com.xebialabs.overthere.OverthereFile file)
|
void |
setPlaceholders(java.util.Map<java.lang.String,java.lang.String> placeholders)
|
| Methods inherited from class com.xebialabs.deployit.plugin.generic.deployed.ExecutedScript |
addStep, executeCreate, executeDestroy, executeModify, executeNoop, getClasspathResources, getCreateScript, getDestroyScript, getModifyScript, getNoopScript, getRemoteWorkingDirectoryPath, getTemplateClasspathResources, isRetainRemoteWorkingDirectory, setClasspathResources, setCreateScript, setDestroyScript, setModifyScript, setNoopScript, setRemoteWorkingDirectoryPath, setRetainRemoteWorkingDirectory, setTemplateClasspathResources |
| Methods inherited from class com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployed |
controlTaskDispatch, getCreateOrder, getCreateVerb, getDeployedApplication, getDeployedAsFreeMarkerContext, getDescription, getDestroyOrder, getDestroyVerb, getModifyOrder, getModifyVerb, getNoopOrder, getNoopVerb, getPlanOperation, getPropertyOrContainerDefault, isRestartRequired, isRestartRequiredForNoop, resolveExpression, resolveExpression, resolveExpression, setCreateOrder, setCreateVerb, setDeployedApplication, setDestroyOrder, setDestroyVerb, 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, 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 |
ExecutedScriptWithDerivedArtifact
public ExecutedScriptWithDerivedArtifact()
getArtifactIfPresent
protected com.xebialabs.overthere.OverthereFile getArtifactIfPresent()
- Overrides:
getArtifactIfPresent in class ExecutedScript<D extends com.xebialabs.deployit.plugin.api.udm.DeployableArtifact>
getSourceArtifact
public D getSourceArtifact()
- Specified by:
getSourceArtifact in interface com.xebialabs.deployit.plugin.api.udm.artifact.DerivedArtifact<D extends com.xebialabs.deployit.plugin.api.udm.DeployableArtifact>
initFile
public void initFile(com.xebialabs.deployit.plugin.api.udm.artifact.PlaceholderReplacer replacer)
- Specified by:
initFile in interface com.xebialabs.deployit.plugin.api.udm.artifact.DerivedArtifact<D extends com.xebialabs.deployit.plugin.api.udm.DeployableArtifact>
getPlaceholders
public java.util.Map<java.lang.String,java.lang.String> getPlaceholders()
- Specified by:
getPlaceholders in interface com.xebialabs.deployit.plugin.api.udm.artifact.DerivedArtifact<D extends com.xebialabs.deployit.plugin.api.udm.DeployableArtifact>
setPlaceholders
public void setPlaceholders(java.util.Map<java.lang.String,java.lang.String> placeholders)
- Specified by:
setPlaceholders in interface com.xebialabs.deployit.plugin.api.udm.artifact.DerivedArtifact<D extends com.xebialabs.deployit.plugin.api.udm.DeployableArtifact>
getFile
public com.xebialabs.overthere.OverthereFile getFile()
- Specified by:
getFile in interface com.xebialabs.deployit.plugin.api.udm.artifact.Artifact
setFile
public void setFile(com.xebialabs.overthere.OverthereFile file)
- Specified by:
setFile in interface com.xebialabs.deployit.plugin.api.udm.artifact.Artifact