Class BaseDeployableArtifact
java.lang.Object
com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
com.xebialabs.deployit.plugin.api.udm.base.BaseDeployable
com.xebialabs.deployit.plugin.api.udm.base.BaseDeployableArtifact
- All Implemented Interfaces:
 Artifact,SourceArtifact,ConfigurationItem,Deployable,DeployableArtifact,Taggable,Serializable,Comparable<BaseConfigurationItem>
- Direct Known Subclasses:
 BaseDeployableFileArtifact,BaseDeployableFolderArtifact
@Metadata(virtual=true,
          description="The supertype of all DeployableArtifacts.")
public class BaseDeployableArtifact
extends BaseDeployable
implements DeployableArtifact
- See Also:
 
- 
Field Summary
FieldsFields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, typeFields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELDFields inherited from interface com.xebialabs.deployit.plugin.api.udm.artifact.SourceArtifact
CHECKSUM_PROPERTY_NAME, FILE_URI_PROPERTY_NAME, IS_RESCANNED_PROPERTY_NAMEFields inherited from interface com.xebialabs.deployit.plugin.api.udm.Taggable
TAGS_FIELD - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns the (calculated or user-defined) checksum of the artifact file.com.xebialabs.deployit.plugin.credentials.CredentialsReturns the credentials for artifact location.com.xebialabs.overthere.OverthereFilegetFile()This will return a map that specifies which files map to which encodings.Returns the artifact location which can be resolved using an artifact resolver.com.xebialabs.deployit.plugin.proxy.ProxySettingsReturns the proxy settings for artifact location.booleanbooleanbooleanvoidsetChecksum(String checksum) voidsetCredentials(com.xebialabs.deployit.plugin.credentials.Credentials credentials) voidsetDelimiters(String delimiters) voidsetExcludeFileNamesRegex(String excludeFileNamesRegex) voidsetFile(com.xebialabs.overthere.OverthereFile file) voidsetPlaceholders(Set<String> placeholders) voidsetPreScannedPlaceholders(boolean preScannedPlaceholders) voidsetProxySettings(com.xebialabs.deployit.plugin.proxy.ProxySettings proxySettings) voidsetRescanned(boolean rescanned) voidsetScanPlaceholders(boolean scanPlaceholders) voidsetTextFileNamesRegex(String textFileNamesRegex) Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseDeployable
getBoundTemplates, getTags, setBoundTemplates, setTagsMethods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, get$ciAttributes, get$directoryReference, get$externalProperties, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$directoryReference, set$externalProperties, set$internalId, set$referenceId, set$securedCi, set$securedDirectoryReference, set$token, set$validationMessages, setId, setProperty, setType, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
get$directoryReference, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$validationMessages, getId, getName, getProperty, getType, hasProperty, setId, setProperty 
- 
Field Details
- 
SCAN_PLACEHOLDERS_PROPERTY_NAME
- See Also:
 
 
 - 
 - 
Constructor Details
- 
BaseDeployableArtifact
public BaseDeployableArtifact() 
 - 
 - 
Method Details
- 
getCredentials
public com.xebialabs.deployit.plugin.credentials.Credentials getCredentials()Description copied from interface:SourceArtifactReturns the credentials for artifact location.- Specified by:
 getCredentialsin interfaceSourceArtifact
 - 
setCredentials
public void setCredentials(com.xebialabs.deployit.plugin.credentials.Credentials credentials)  - 
getProxySettings
public com.xebialabs.deployit.plugin.proxy.ProxySettings getProxySettings()Description copied from interface:SourceArtifactReturns the proxy settings for artifact location.- Specified by:
 getProxySettingsin interfaceSourceArtifact
 - 
setProxySettings
public void setProxySettings(com.xebialabs.deployit.plugin.proxy.ProxySettings proxySettings)  - 
getFile
public com.xebialabs.overthere.OverthereFile getFile() - 
setFile
public void setFile(com.xebialabs.overthere.OverthereFile file)  - 
isScanPlaceholders
public boolean isScanPlaceholders() - 
setScanPlaceholders
public void setScanPlaceholders(boolean scanPlaceholders)  - 
isPreScannedPlaceholders
public boolean isPreScannedPlaceholders() - 
setPreScannedPlaceholders
public void setPreScannedPlaceholders(boolean preScannedPlaceholders)  - 
getPlaceholders
- Specified by:
 getPlaceholdersin interfaceSourceArtifact
 - 
setPlaceholders
- Specified by:
 setPlaceholdersin interfaceSourceArtifact
 - 
getTextFileNamesRegex
- Specified by:
 getTextFileNamesRegexin interfaceSourceArtifact
 - 
setTextFileNamesRegex
 - 
getExcludeFileNamesRegex
- Specified by:
 getExcludeFileNamesRegexin interfaceSourceArtifact- Returns:
 - regex that captures all the files that should not be scanned.
 
 - 
getFileEncodings
Description copied from interface:SourceArtifactThis will return a map that specifies which files map to which encodings. By default XL Deploy will use UTF-8 for replacing placeholders in files, unless this property contains a regex as key which matches the path of the file within the artifact. If a key matches, XL Deploy will use the attached value in the map as encoding for replacing placeholders in the file.- Specified by:
 getFileEncodingsin interfaceSourceArtifact- Returns:
 - map that maps a regex to a target encoding for a file.
 
 - 
getFileUri
Description copied from interface:SourceArtifactReturns the artifact location which can be resolved using an artifact resolver.- Specified by:
 getFileUriin interfaceSourceArtifact
 - 
setExcludeFileNamesRegex
 - 
getChecksum
Description copied from interface:SourceArtifactReturns the (calculated or user-defined) checksum of the artifact file.- Specified by:
 getChecksumin interfaceSourceArtifact
 - 
setChecksum
 - 
getDelimiters
 - 
setDelimiters
 - 
getRescanned
public boolean getRescanned() - 
setRescanned
public void setRescanned(boolean rescanned)  
 -