Package com.tibco.ep.sb.ads
Class ArtifactDescriptor
java.lang.Object
com.tibco.ep.sb.ads.ArtifactDescriptor
Container for the metadata used to register for an artifact.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Version string representing the latest version of an artifact -
Constructor Summary
ConstructorDescriptionArtifactDescriptor
(String type, DefaultArtifact defaultArtifact) Creates an ArtifactDescriptor instance with only a default artifact specified.ArtifactDescriptor
(String type, String name, String version) Creates an ArtifactDescriptor instance for the specified artifact.ArtifactDescriptor
(String type, String name, String version, DefaultArtifact defaultArtifact) Creates an ArtifactDescriptor instance for the specified artifact and a default artifact. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
getType()
void
setRequiredAtStartup
(boolean value) Sets whether or not the artifact must be available at startup.
-
Field Details
-
LATEST_VERSION
Version string representing the latest version of an artifact- Since:
- 10.2
- See Also:
-
-
Constructor Details
-
ArtifactDescriptor
Creates an ArtifactDescriptor instance for the specified artifact.- Parameters:
type
- Artifact typename
- Artifact nameversion
- Artifact version, or LATEST_VERSION to specify the latest version of the artifact
-
ArtifactDescriptor
public ArtifactDescriptor(String type, String name, String version, DefaultArtifact defaultArtifact) Creates an ArtifactDescriptor instance for the specified artifact and a default artifact.- Parameters:
type
- Artifact typename
- Artifact nameversion
- Artifact version, or LATEST_VERSION to specify the latest version of the artifactdefaultArtifact
- Default artifact- Since:
- 11.0
-
ArtifactDescriptor
Creates an ArtifactDescriptor instance with only a default artifact specified.- Parameters:
type
- Artifact typedefaultArtifact
- Default artifact- Since:
- 11.0
-
-
Method Details
-
setRequiredAtStartup
public void setRequiredAtStartup(boolean value) Sets whether or not the artifact must be available at startup.The required at startup attribute defaults to false
- Parameters:
value
- true if the artifact must be available at startup, false otherwise
-
getType
- Returns:
- artifact type
-
getName
- Returns:
- artifact name
-
getVersion
- Returns:
- artifact version
-
getRequiredAtStartup
public boolean getRequiredAtStartup()- Returns:
- true if the artifact must be available at startup, otherwise false
-
getDefaultArtifact
- Returns:
- the default artifact, if any, set in this instance
-