Class Automation

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

public class Automation extends Object implements Linkable<Automation>, Serializable
The automation element integrates the process with the Automation Worker (previously called External Program Plugin or EPP). When a user runs the process, the system automatically issue a command, or submits files and scripts to third-party programs for further processing.
Since:
2.26
See Also:
  • Field Details

    • context

      protected Context context
      The context in which this automation runs.
    • script

      protected String script
      The script content for this automation.
    • runProgramPerEvent

      protected Boolean runProgramPerEvent
      Flag indicating whether the program should run per event.
    • channel

      protected String channel
      The channel for this automation.
    • files

      protected List<ClarityFile> files
      The files associated with this automation.
    • processTypes

      protected List<ProcessTypeLink> processTypes
      The process types associated with this automation.
    • uri

      protected URI uri
      The URI of this automation.
    • name

      protected String name
      The name of this automation.
  • Constructor Details

    • Automation

      public Automation()
      Default constructor.
  • Method Details

    • getContext

      public Context getContext()
      Gets the context in which this automation runs.
      Returns:
      The automation context.
    • setContext

      public void setContext(Context value)
      Sets the context in which this automation runs.
      Parameters:
      value - The automation context.
    • getScript

      public String getScript()
      Gets the script content for this automation.
      Returns:
      The script content.
    • setScript

      public void setScript(String script)
      Sets the script content for this automation.
      Parameters:
      script - The script content.
    • isRunProgramPerEvent

      public Boolean isRunProgramPerEvent()
      Checks if the program should run per event.
      Returns:
      true if the program runs per event, false otherwise.
    • setRunProgramPerEvent

      public void setRunProgramPerEvent(Boolean value)
      Sets whether the program should run per event.
      Parameters:
      value - true if the program should run per event, false otherwise.
    • getChannel

      public String getChannel()
      Gets the channel for this automation.
      Returns:
      The channel.
    • setChannel

      public void setChannel(String value)
      Sets the channel for this automation.
      Parameters:
      value - The channel.
    • getFiles

      public List<ClarityFile> getFiles()
      Gets the list of files associated with this automation.
      Returns:
      The list of files.
    • getProcessTypes

      public List<ProcessTypeLink> getProcessTypes()
      Gets the list of process types associated with this automation.
      Returns:
      The list of process type links.
    • getUri

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

      public void setUri(URI value)
      Sets the URI of this automation.
      Specified by:
      setUri in interface Locatable
      Parameters:
      value - The URI.
    • getName

      public String getName()
      Gets the name of this automation.
      Returns:
      The automation name.
    • setName

      public void setName(String value)
      Sets the name of this automation.
      Parameters:
      value - The automation name.
    • getLink

      public LimsLink<Automation> getLink()
      Gets a link to this automation.
      Specified by:
      getLink in interface Linkable<Automation>
      Returns:
      A link to this automation.