com.xebialabs.deployit.plugin.api.udm.base
Class BaseDeployableArtifact

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.api.udm.base.BaseDeployable
          extended by com.xebialabs.deployit.plugin.api.udm.base.BaseDeployableArtifact
All Implemented Interfaces:
Artifact, SourceArtifact, ConfigurationItem, Deployable, DeployableArtifact, Taggable, java.io.Serializable, java.lang.Comparable<BaseConfigurationItem>
Direct Known Subclasses:
BaseDeployableFileArtifact, BaseDeployableFolderArtifact

public abstract class BaseDeployableArtifact
extends BaseDeployable
implements DeployableArtifact

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
 
Constructor Summary
BaseDeployableArtifact()
           
 
Method Summary
 java.lang.String getExcludeFileNamesRegex()
           
 com.xebialabs.overthere.OverthereFile getFile()
           
 java.util.Set<java.lang.String> getPlaceholders()
           
 java.lang.String getTextFileNamesRegex()
           
 void initPlaceholders(PlaceholderScanner scanner)
          Invoked when an artifact of this type is imported.
 boolean isScanPlaceholders()
           
 void setExcludeFileNamesRegex(java.lang.String excludeFileNamesRegex)
           
 void setFile(com.xebialabs.overthere.OverthereFile file)
           
 void setPlaceholders(java.util.Set<java.lang.String> placeholders)
           
 void setScanPlaceholders(boolean scanPlaceholders)
           
 void setTextFileNamesRegex(java.lang.String textFileNamesRegex)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseDeployable
getTags, setTags
 
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.Taggable
getTags, setTags
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
getId, getName, getProperty, getSyntheticProperties, getSyntheticProperty, getType, hasProperty, putSyntheticProperty, setId, setProperty
 

Constructor Detail

BaseDeployableArtifact

public BaseDeployableArtifact()
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.Set<java.lang.String> getPlaceholders()
Specified by:
getPlaceholders in interface SourceArtifact

setPlaceholders

public void setPlaceholders(java.util.Set<java.lang.String> placeholders)
Specified by:
setPlaceholders in interface SourceArtifact

getTextFileNamesRegex

public java.lang.String getTextFileNamesRegex()
Specified by:
getTextFileNamesRegex in interface SourceArtifact

setTextFileNamesRegex

public void setTextFileNamesRegex(java.lang.String textFileNamesRegex)

initPlaceholders

public void initPlaceholders(PlaceholderScanner scanner)
Description copied from interface: SourceArtifact
Invoked when an artifact of this type is imported. After this call, the placeholders property should be filled.

Specified by:
initPlaceholders in interface SourceArtifact
Parameters:
scanner - The placeholder scanner to invoke.

getExcludeFileNamesRegex

public java.lang.String getExcludeFileNamesRegex()
Specified by:
getExcludeFileNamesRegex in interface SourceArtifact
Returns:
regex that captures all the files that should not be scanned.

setExcludeFileNamesRegex

public void setExcludeFileNamesRegex(java.lang.String excludeFileNamesRegex)

isScanPlaceholders

public boolean isScanPlaceholders()

setScanPlaceholders

public void setScanPlaceholders(boolean scanPlaceholders)