Class BaseDeployableArtifact

    • Field Detail

      • SCAN_PLACEHOLDERS_PROPERTY_NAME

        public static final java.lang.String SCAN_PLACEHOLDERS_PROPERTY_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • BaseDeployableArtifact

        public BaseDeployableArtifact()
    • Method Detail

      • getCredentials

        public com.xebialabs.deployit.plugin.credentials.Credentials getCredentials()
        Description copied from interface: SourceArtifact
        Returns the credentials for artifact location.
        Specified by:
        getCredentials in interface SourceArtifact
      • setCredentials

        public void setCredentials​(com.xebialabs.deployit.plugin.credentials.Credentials credentials)
      • getProxySettings

        public com.xebialabs.deployit.plugin.proxy.ProxySettings getProxySettings()
        Description copied from interface: SourceArtifact
        Returns the proxy settings for artifact location.
        Specified by:
        getProxySettings in interface SourceArtifact
      • setProxySettings

        public void setProxySettings​(com.xebialabs.deployit.plugin.proxy.ProxySettings proxySettings)
      • getFile

        public com.xebialabs.overthere.OverthereFile getFile()
        Specified by:
        getFile in interface Artifact
        Returns:
        A representation of a file that can be access through an Overthere connection.
      • setFile

        public void setFile​(com.xebialabs.overthere.OverthereFile file)
        Specified by:
        setFile in interface Artifact
        Parameters:
        file - A representation of a file that can be access through an Overthere connection.
      • isScanPlaceholders

        public boolean isScanPlaceholders()
      • setScanPlaceholders

        public void setScanPlaceholders​(boolean scanPlaceholders)
      • isPreScannedPlaceholders

        public boolean isPreScannedPlaceholders()
      • setPreScannedPlaceholders

        public void setPreScannedPlaceholders​(boolean preScannedPlaceholders)
      • setPlaceholders

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

        public void setTextFileNamesRegex​(java.lang.String textFileNamesRegex)
      • getExcludeFileNamesRegex

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

        public java.util.Map<java.lang.String,​java.lang.String> getFileEncodings()
        Description copied from interface: SourceArtifact
        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.
        Specified by:
        getFileEncodings in interface SourceArtifact
        Returns:
        map that maps a regex to a target encoding for a file.
      • getFileUri

        public java.lang.String getFileUri()
        Description copied from interface: SourceArtifact
        Returns the artifact location which can be resolved using an artifact resolver.
        Specified by:
        getFileUri in interface SourceArtifact
      • setExcludeFileNamesRegex

        public void setExcludeFileNamesRegex​(java.lang.String excludeFileNamesRegex)
      • getChecksum

        public java.lang.String getChecksum()
        Description copied from interface: SourceArtifact
        Returns the (calculated or user-defined) checksum of the artifact file.
        Specified by:
        getChecksum in interface SourceArtifact
      • setChecksum

        public void setChecksum​(java.lang.String checksum)
      • getDelimiters

        public java.lang.String getDelimiters()
      • setDelimiters

        public void setDelimiters​(java.lang.String delimiters)
      • getRescanned

        public boolean getRescanned()
      • setRescanned

        public void setRescanned​(boolean rescanned)