java.lang.Object
com.genologics.ri.routing.ExtArtifactAssignments
- All Implemented Interfaces:
Serializable
External artifact assignments for routing to workflows and stages.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ArtifactLink>The list of artifact links.protected URIThe URI of the stage.protected URIThe URI of the workflow. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAll(Collection<? extends Linkable<Artifact>> links) Adds all artifacts from a collection to the list.voidaddArtifact(Linkable<Artifact> artifact) Adds an artifact to the list.Gets the list of artifact links.Gets the stage URI.Gets the workflow URI.voidSets the stage from a Linkable.voidsetStageUri(URI stageUri) Sets the stage URI.voidsetWorkflow(Linkable<Workflow> workflow) Sets the workflow from a Linkable.voidsetWorkflowUri(URI workflowUri) Sets the workflow URI.
-
Field Details
-
artifacts
The list of artifact links. -
workflowUri
The URI of the workflow. -
stageUri
The URI of the stage.
-
-
Constructor Details
-
ExtArtifactAssignments
public ExtArtifactAssignments()
-
-
Method Details
-
getArtifacts
Gets the list of artifact links.- Returns:
- A list of artifact links.
-
addArtifact
Adds an artifact to the list.- Parameters:
artifact- The artifact to add.
-
addAll
Adds all artifacts from a collection to the list.- Parameters:
links- The collection of artifact links to add.
-
getWorkflowUri
Gets the workflow URI.- Returns:
- The workflow URI.
-
setWorkflowUri
Sets the workflow URI.- Parameters:
workflowUri- The workflow URI.
-
setWorkflow
Sets the workflow from a Linkable.- Parameters:
workflow- The workflow to set.
-
getStageUri
Gets the stage URI.- Returns:
- The stage URI.
-
setStageUri
Sets the stage URI.- Parameters:
stageUri- The stage URI.
-
setStage
Sets the stage from a Linkable.- Parameters:
stage- The stage to set.
-