java.lang.Object
com.genologics.ri.automation.Automation
- All Implemented Interfaces:
Linkable<Automation>,Locatable,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 Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe channel for this automation.protected ContextThe context in which this automation runs.protected List<ClarityFile>The files associated with this automation.protected StringThe name of this automation.protected List<ProcessTypeLink>The process types associated with this automation.protected BooleanFlag indicating whether the program should run per event.protected StringThe script content for this automation.protected URIThe URI of this automation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the channel for this automation.Gets the context in which this automation runs.getFiles()Gets the list of files associated with this automation.getLink()Gets a link to this automation.getName()Gets the name of this automation.Gets the list of process types associated with this automation.Gets the script content for this automation.getUri()Gets the URI of this automation.Checks if the program should run per event.voidsetChannel(String value) Sets the channel for this automation.voidsetContext(Context value) Sets the context in which this automation runs.voidSets the name of this automation.voidsetRunProgramPerEvent(Boolean value) Sets whether the program should run per event.voidSets the script content for this automation.voidSets the URI of this automation.
-
Field Details
-
context
The context in which this automation runs. -
script
The script content for this automation. -
runProgramPerEvent
Flag indicating whether the program should run per event. -
channel
The channel for this automation. -
files
The files associated with this automation. -
processTypes
The process types associated with this automation. -
uri
The URI of this automation. -
name
The name of this automation.
-
-
Constructor Details
-
Automation
public Automation()Default constructor.
-
-
Method Details
-
getContext
Gets the context in which this automation runs.- Returns:
- The automation context.
-
setContext
Sets the context in which this automation runs.- Parameters:
value- The automation context.
-
getScript
Gets the script content for this automation.- Returns:
- The script content.
-
setScript
Sets the script content for this automation.- Parameters:
script- The script content.
-
isRunProgramPerEvent
Checks if the program should run per event.- Returns:
trueif the program runs per event,falseotherwise.
-
setRunProgramPerEvent
Sets whether the program should run per event.- Parameters:
value-trueif the program should run per event,falseotherwise.
-
getChannel
Gets the channel for this automation.- Returns:
- The channel.
-
setChannel
Sets the channel for this automation.- Parameters:
value- The channel.
-
getFiles
Gets the list of files associated with this automation.- Returns:
- The list of files.
-
getProcessTypes
Gets the list of process types associated with this automation.- Returns:
- The list of process type links.
-
getUri
Gets the URI of this automation. -
setUri
Sets the URI of this automation. -
getName
Gets the name of this automation.- Returns:
- The automation name.
-
setName
Sets the name of this automation.- Parameters:
value- The automation name.
-
getLink
Gets a link to this automation.- Specified by:
getLinkin interfaceLinkable<Automation>- Returns:
- A link to this automation.
-