com.xebialabs.deployit.plugin.api.udm.base
Class BaseDeployedArtifact<D extends DeployableArtifact,C extends Container>

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.api.udm.base.BaseDeployed<D,C>
          extended by com.xebialabs.deployit.plugin.api.udm.base.BaseDeployedArtifact<D,C>
All Implemented Interfaces:
Artifact, DerivedArtifact<D>, ConfigurationItem, Deployed<D,C>, java.io.Serializable, java.lang.Comparable<BaseConfigurationItem>

public abstract class BaseDeployedArtifact<D extends DeployableArtifact,C extends Container>
extends BaseDeployed<D,C>
implements 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
BaseDeployedArtifact()
           
 
Method Summary
 com.xebialabs.overthere.OverthereFile getFile()
           
 java.util.Map<java.lang.String,java.lang.String> getPlaceholders()
           
 D getSourceArtifact()
           
 void initFile(PlaceholderReplacer replacer)
          Only called in case the DeployedArtifact has a corresponding set Deployable Artifact.
 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.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
 

Constructor Detail

BaseDeployedArtifact

public BaseDeployedArtifact()
Method Detail

getFile

public com.xebialabs.overthere.OverthereFile getFile()
Specified by:
getFile in interface Artifact

setFile

public void setFile(com.xebialabs.overthere.OverthereFile file)
Specified by:
setFile in interface Artifact

getPlaceholders

public java.util.Map<java.lang.String,java.lang.String> getPlaceholders()
Specified by:
getPlaceholders in interface DerivedArtifact<D extends DeployableArtifact>

setPlaceholders

public void setPlaceholders(java.util.Map<java.lang.String,java.lang.String> placeholders)
Specified by:
setPlaceholders in interface DerivedArtifact<D extends DeployableArtifact>

getSourceArtifact

public D getSourceArtifact()
Specified by:
getSourceArtifact in interface DerivedArtifact<D extends DeployableArtifact>

initFile

public void initFile(PlaceholderReplacer replacer)
Description copied from interface: DerivedArtifact
Only called in case the DeployedArtifact has a corresponding set Deployable Artifact.

Specified by:
initFile in interface DerivedArtifact<D extends DeployableArtifact>
Parameters:
replacer - The replacer that can be used to replace placeholders for this DeployedArtifact.