Package com.tibco.ep.sb.ads
Class DefaultArtifact
java.lang.Object
com.tibco.ep.sb.ads.DefaultArtifact
Container for the metadata used to register for an artifact.
-
Constructor Summary
ConstructorDescriptionDefaultArtifact
(String defaultFile) DefaultArtifact
(String defaultFile, Optional<String> version, Optional<String> encoding, Optional<String> metadataFile) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
DefaultArtifact
- 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
- Returns:
- Resource path of the file containing the default artifact.
-
getVersion
- Returns:
- Version of the default artifact, if one was specified.
-
getEncoding
- Returns:
- Encoding of the default artifact, if one was specified.
-
getMetadataFile
- Returns:
- Resource path of the file containing the default artifact's metadata, if one was specified
-