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>, 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="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.generic.deployed.AbstractDeployed
STEP_OPTION_NONE, STEP_OPTION_UPLOAD_ARTIFACT_DATA, STEP_OPTION_UPLOAD_CLASSPATH_RESOURCES, STEP_OPTION_UPLOAD_TEMPLATE_CLASSPATH_RESOURCES, STEP_OPTIONS_DEFAULT, 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
CopiedArtifact()
           
CopiedArtifact(java.lang.String id)
           
 
Method Summary
protected  ArtifactCopyStep createArtifactCopyStep()
           
protected  ArtifactDeleteStep createArtifactDeleteStep()
           
 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)
           
 com.xebialabs.overthere.OverthereFile getFile()
           
 java.util.Map<java.lang.String,java.lang.String> getPlaceholders()
           
 D getSourceArtifact()
           
 boolean isPreserveExistingFiles()
           
 boolean isTargetPathSharedSubDirectories()
           
 void setFile(com.xebialabs.overthere.OverthereFile file)
           
 void setPlaceholders(java.util.Map<java.lang.String,java.lang.String> placeholders)
           
 void setPreserveExistingFiles(boolean preserveExistingFiles)
           
 void setTargetPathSharedSubDirectories(boolean targetPathSharedSubDirectories)
           
 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, 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

CopiedArtifact

public CopiedArtifact(java.lang.String id)

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>

executeCreate

public void executeCreate(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
                          com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)

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 delta)

executeDestroy

public void executeDestroy(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
                           com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)

createArtifactDeleteStep

protected ArtifactDeleteStep createArtifactDeleteStep()

setUseDescriptionGeneratedByStep

public void setUseDescriptionGeneratedByStep(boolean useDescriptionGeneratedByStep)

isTargetPathSharedSubDirectories

public boolean isTargetPathSharedSubDirectories()

setTargetPathSharedSubDirectories

public void setTargetPathSharedSubDirectories(boolean targetPathSharedSubDirectories)

isPreserveExistingFiles

public boolean isPreserveExistingFiles()

setPreserveExistingFiles

public void setPreserveExistingFiles(boolean preserveExistingFiles)