Class ExtArtifactAssignments

java.lang.Object
com.genologics.ri.routing.ExtArtifactAssignments
All Implemented Interfaces:
Serializable

public class ExtArtifactAssignments extends Object implements Serializable
External artifact assignments for routing to workflows and stages.
See Also:
  • Field Details

    • artifacts

      protected List<ArtifactLink> artifacts
      The list of artifact links.
    • workflowUri

      protected URI workflowUri
      The URI of the workflow.
    • stageUri

      protected URI stageUri
      The URI of the stage.
  • Constructor Details

    • ExtArtifactAssignments

      public ExtArtifactAssignments()
  • Method Details

    • getArtifacts

      public List<ArtifactLink> getArtifacts()
      Gets the list of artifact links.
      Returns:
      A list of artifact links.
    • addArtifact

      public void addArtifact(Linkable<Artifact> artifact)
      Adds an artifact to the list.
      Parameters:
      artifact - The artifact to add.
    • addAll

      public void addAll(Collection<? extends Linkable<Artifact>> links)
      Adds all artifacts from a collection to the list.
      Parameters:
      links - The collection of artifact links to add.
    • getWorkflowUri

      public URI getWorkflowUri()
      Gets the workflow URI.
      Returns:
      The workflow URI.
    • setWorkflowUri

      public void setWorkflowUri(URI workflowUri)
      Sets the workflow URI.
      Parameters:
      workflowUri - The workflow URI.
    • setWorkflow

      public void setWorkflow(Linkable<Workflow> workflow)
      Sets the workflow from a Linkable.
      Parameters:
      workflow - The workflow to set.
    • getStageUri

      public URI getStageUri()
      Gets the stage URI.
      Returns:
      The stage URI.
    • setStageUri

      public void setStageUri(URI stageUri)
      Sets the stage URI.
      Parameters:
      stageUri - The stage URI.
    • setStage

      public void setStage(Linkable<Stage> stage)
      Sets the stage from a Linkable.
      Parameters:
      stage - The stage to set.