com.xebialabs.deployit.plugin.generic.deployed
Class ExecutedScriptWithDerivedArtifact<D extends com.xebialabs.deployit.plugin.api.udm.DeployableArtifact>

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.api.udm.base.BaseDeployed<D,com.xebialabs.deployit.plugin.overthere.HostContainer>
          extended by com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployed<D>
              extended by com.xebialabs.deployit.plugin.generic.deployed.ExecutedScript<D>
                  extended by 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>, 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 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.xebialabs.deployit.plugin.generic.deployed.ExecutedScript
ExecutedScript.CheckpointInfo
 
Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployed
STEP_OPTION_NONE, STEP_OPTION_UPLOAD_ARTIFACT_DATA, STEP_OPTION_UPLOAD_CLASSPATH_RESOURCES, STEP_OPTION_UPLOAD_TEMPLATE_CLASSPATH_RESOURCES, STEP_OPTIONS_DESCRIPTION_SUFFIX, STEP_OPTIONS_REGEX
 
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.EmbeddedDeployedContainer
CONTAINER_FIELD, DEPLOYABLE_FIELD
 
Constructor Summary
ExecutedScriptWithDerivedArtifact()
           
 
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 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, checkpoint, checkpoint, 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, 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
 

Constructor Detail

ExecutedScriptWithDerivedArtifact

public ExecutedScriptWithDerivedArtifact()
Method Detail

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>

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