Class ProgramStatus

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

public class ProgramStatus extends Object implements Linkable<ProgramStatus>, Serializable
The current EPP status for a step (supports automatically triggered programs only).
See Also:
  • Field Details

    • step

      protected Link step
      Link to the step associated with this program status.
    • configuration

      protected StepConfiguration configuration
      The configuration of the step.
    • status

      protected Status status
      The current status of the program.
    • message

      protected String message
      The message associated with the program status.
    • uri

      protected URI uri
      The URI of the program status.
  • Constructor Details

    • ProgramStatus

      public ProgramStatus()
      Constructs a new empty ProgramStatus.
    • ProgramStatus

      public ProgramStatus(URI uri)
      Constructs a new ProgramStatus with the given URI.
      Parameters:
      uri - the URI of the program status.
  • Method Details

    • getStep

      public Link getStep()
      Gets the link to the step associated with this program status.
      Returns:
      the step link.
    • setStep

      public void setStep(Link step)
      Sets the link to the step associated with this program status.
      Parameters:
      step - the step link.
    • getConfiguration

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

      public void setConfiguration(StepConfiguration configuration)
      Sets the configuration of the step.
      Parameters:
      configuration - the step configuration.
    • getStatus

      public Status getStatus()
      Gets the current status of the program.
      Returns:
      the status.
    • setStatus

      public void setStatus(Status status)
      Sets the current status of the program.
      Parameters:
      status - the status.
    • getMessage

      public String getMessage()
      Gets the message associated with the program status.
      Returns:
      the message.
    • setMessage

      public void setMessage(String message)
      Sets the message associated with the program status.
      Parameters:
      message - the message.
    • getUri

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

      public void setUri(URI uri)
      Sets the URI of the program status.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - the URI.
    • getLink

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