Class DefaultArtifact

java.lang.Object
com.tibco.ep.sb.ads.DefaultArtifact

public class DefaultArtifact extends Object
Container for the metadata used to register for an artifact.
  • Constructor Details

    • DefaultArtifact

      public DefaultArtifact(String defaultFile)
      Parameters:
      defaultFile - Resource path of file containing the default artifact.
    • DefaultArtifact

      public DefaultArtifact(String defaultFile, Optional<String> version, Optional<String> encoding, Optional<String> metadataFile)
      Parameters:
      defaultFile - Resource path of the file containing the default artifact.
      version - Version of the default artifact.
      encoding - Encoding of the default artifact.
      metadataFile - Resource path of file containing the default artifact's metadata.
  • Method Details

    • getDefaultFile

      public String getDefaultFile()
      Returns:
      Resource path of the file containing the default artifact.
    • getVersion

      public Optional<String> getVersion()
      Returns:
      Version of the default artifact, if one was specified.
    • getEncoding

      public Optional<String> getEncoding()
      Returns:
      Encoding of the default artifact, if one was specified.
    • getMetadataFile

      public Optional<String> getMetadataFile()
      Returns:
      Resource path of the file containing the default artifact's metadata, if one was specified