Class Actions

java.lang.Object
com.genologics.ri.step.Actions
All Implemented Interfaces:
Linkable<Actions>, Locatable, Serializable

public class Actions extends Object implements Linkable<Actions>, Serializable
Represents actions applied or to be applied by a step in the workflow.
See Also:
  • Field Details

    • step

      protected Link step
      Link to the step.
    • configuration

      protected StepConfiguration configuration
      Configuration of the step.
    • nextActions

      protected List<NextAction> nextActions
      List of next actions to be performed.
    • escalation

      protected Escalation escalation
      Escalation information for the step.
      Since:
      2.18
    • uri

      protected URI uri
      URI of the actions resource.
  • Constructor Details

    • Actions

      public Actions()
      Default constructor.
    • Actions

      public Actions(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI of the actions resource.
  • Method Details

    • getStep

      public Link getStep()
      Gets the step link.
      Returns:
      The step link.
    • setStep

      public void setStep(Link step)
      Sets the step link.
      Parameters:
      step - The step link.
    • getConfiguration

      public StepConfiguration getConfiguration()
      Gets the step configuration.
      Returns:
      The step configuration.
    • setConfiguration

      public void setConfiguration(StepConfiguration configuration)
      Sets the step configuration.
      Parameters:
      configuration - The step configuration.
    • getNextActions

      public List<NextAction> getNextActions()
      Gets the list of next actions, creating it if it doesn't exist.
      Returns:
      The list of next actions.
    • getUri

      public URI getUri()
      Gets the URI.
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI.
    • setUri

      public void setUri(URI uri)
      Sets the URI.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The URI.
    • getEscalation

      public Escalation getEscalation()
      Gets the escalation information.
      Returns:
      The escalation.
    • setEscalation

      public void setEscalation(Escalation escalation)
      Sets the escalation information.
      Parameters:
      escalation - The escalation.
    • toString

      public String toString()
      Produces a string representation of this actions object.
      Overrides:
      toString in class Object
      Returns:
      A string representation.
    • getLink

      public LimsLink<Actions> getLink()
      Get a concrete link object to this Linkable thing.
      Specified by:
      getLink in interface Linkable<Actions>
      Returns:
      A LimsLink to this object.