Interface SourceArtifact

    • Field Detail

      • FILE_URI_PROPERTY_NAME

        static final java.lang.String FILE_URI_PROPERTY_NAME
        See Also:
        Constant Field Values
      • CHECKSUM_PROPERTY_NAME

        static final java.lang.String CHECKSUM_PROPERTY_NAME
        See Also:
        Constant Field Values
      • IS_RESCANNED_PROPERTY_NAME

        static final java.lang.String IS_RESCANNED_PROPERTY_NAME
        See Also:
        Constant Field Values
    • Method Detail

      • getPlaceholders

        java.util.Set<java.lang.String> getPlaceholders()
      • setPlaceholders

        void setPlaceholders​(java.util.Set<java.lang.String> placeholders)
      • getTextFileNamesRegex

        java.lang.String getTextFileNamesRegex()
      • getExcludeFileNamesRegex

        java.lang.String getExcludeFileNamesRegex()
        Returns:
        regex that captures all the files that should not be scanned.
      • getFileEncodings

        java.util.Map<java.lang.String,​java.lang.String> 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

        java.lang.String 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

        java.lang.String getChecksum()
        Returns the (calculated or user-defined) checksum of the artifact file.