Package com.tibco.ep.sb.ads
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 Summary
Constructors Constructor Description DefaultArtifact(String defaultFile)
DefaultArtifact(String defaultFile, Optional<String> version, Optional<String> encoding, Optional<String> metadataFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultFile()
Optional<String>
getEncoding()
Optional<String>
getMetadataFile()
Optional<String>
getVersion()
-
-
-
Constructor Detail
-
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 Detail
-
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.
-
-