JavaScript is disabled on your browser.
All Superinterfaces:
Artifact
, ConfigurationItem
, Serializable
All Known Subinterfaces:
ArchiveArtifact
, DeployableArtifact
, FileArtifact
, FolderArtifact
All Known Implementing Classes:
BaseDeployableArchiveArtifact
, BaseDeployableArtifact
, BaseDeployableFileArtifact
, BaseDeployableFolderArtifact
, BaseProvisionerArtifact
, EmbeddedDeployableArtifact
public interface SourceArtifact
extends Artifact
Method Summary
All Methods Instance Methods Abstract Methods Default Methods
Returns the (calculated or user-defined) checksum of the artifact file.
default com.xebialabs.deployit.plugin.credentials.Credentials
Returns the credentials for artifact location.
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.
default com.xebialabs.deployit.plugin.proxy.ProxySettings
Returns the proxy settings for artifact location.
void
Methods 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
FILE_URI_PROPERTY_NAME
static final String FILE_URI_PROPERTY_NAME
See Also:
CHECKSUM_PROPERTY_NAME
static final String CHECKSUM_PROPERTY_NAME
See Also:
IS_RESCANNED_PROPERTY_NAME
static final String IS_RESCANNED_PROPERTY_NAME
See Also:
Method Details
setPlaceholders
void setPlaceholders (Set <String > placeholders)
getTextFileNamesRegex
String getTextFileNamesRegex ()
getExcludeFileNamesRegex
String getExcludeFileNamesRegex ()
Returns:
regex that captures all the files that should not be scanned.
getFileEncodings
This 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.
Returns:
map that maps a regex to a target encoding for a file.
getFileUri
Returns the artifact location which can be resolved using an artifact resolver.
getCredentials
default com.xebialabs.deployit.plugin.credentials.Credentials getCredentials ()
Returns the credentials for artifact location.
getProxySettings
default com.xebialabs.deployit.plugin.proxy.ProxySettings getProxySettings ()
Returns the proxy settings for artifact location.
getChecksum
Returns the (calculated or user-defined) checksum of the artifact file.