com.xebialabs.deployit.plugin.generic.deployed
Class CopiedArtifact<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.AbstractDeployedArtifact<D>
                  extended by com.xebialabs.deployit.plugin.generic.deployed.CopiedArtifact<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="An artifact deployed on a generic container")
public class CopiedArtifact<D extends com.xebialabs.deployit.plugin.api.udm.DeployableArtifact>
extends AbstractDeployedArtifact<D>
implements com.xebialabs.deployit.plugin.api.udm.artifact.DerivedArtifact<D>

See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
CopiedArtifact()
           
 
Method Summary
protected  ArtifactCopyStep createArtifactCopyStep()
           
protected  ArtifactDeleteStep createArtifactDeleteStep()
           
 void executeCreate(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx)
           
 void executeDestroy(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx)
           
 void executeModify(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx, com.xebialabs.deployit.plugin.api.deployment.specification.Delta d)
           
 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)
           
 void setUseDescriptionGeneratedByStep(boolean useDescriptionGeneratedByStep)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployedArtifact
getTargetDirectory, getTargetFile, isCreateTargetDirectory, isTargetDirectoryShared, resolveTargetFileName, setCreateTargetDirectory, setTargetDirectory, setTargetDirectoryShared, setTargetFile
 
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
 

Constructor Detail

CopiedArtifact

public CopiedArtifact()
Method Detail

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

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>

executeCreate

public void executeCreate(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx)

createArtifactCopyStep

protected ArtifactCopyStep createArtifactCopyStep()

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)

createArtifactDeleteStep

protected ArtifactDeleteStep createArtifactDeleteStep()

setUseDescriptionGeneratedByStep

public void setUseDescriptionGeneratedByStep(boolean useDescriptionGeneratedByStep)