Package com.uc4.api.objects
Class OutputScanFilter
java.lang.Object
com.uc4.api.objects.OutputScanFilter
This class represents a single row Output-Scan tab of an Automation Engine Object.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionOutputScanFilter
(UC4ObjectName filterName, boolean condition, int returnCode, UC4ObjectName executeObject) Creates a new instance of this class.OutputScanFilter
(UC4ObjectName filterName, boolean condition, int returnCode, UC4ObjectName executeObject, String statusText) Creates a new instance of this class.protected
OutputScanFilter
(Element row) Creates a new instance of this class from an XML element -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Returnstrue
if the filter should match or not match.Returns the name of the Automation Engine object which should be executed if the filter matches.Name of the filter object.int
Returns the return code of the Object in case the filter matches.Returns the status text that is used for the task's remote status when the filter definition applies.int
hashCode()
protected void
Saves the content of this instance in an XML DOM Element.
-
Constructor Details
-
OutputScanFilter
public OutputScanFilter(UC4ObjectName filterName, boolean condition, int returnCode, UC4ObjectName executeObject, String statusText) Creates a new instance of this class.- Parameters:
filterName
- Name of the filter object in the Automation Enginecondition
- true if the filter should match, false otherwisereturnCode
- Return code if the filter matchesexecuteObject
- Name of an object which should be executed if the filter matchesstatusText
- status text that is used for the task's remote status when the filter definition applies
-
OutputScanFilter
public OutputScanFilter(UC4ObjectName filterName, boolean condition, int returnCode, UC4ObjectName executeObject) Creates a new instance of this class.- Parameters:
filterName
- Name of the filter object in the Automation Enginecondition
- true if the filter should match, false otherwisereturnCode
- Return code if the filter matchesexecuteObject
- Name of an object which should be executed if the filter matches
-
OutputScanFilter
Creates a new instance of this class from an XML element- Parameters:
row
- DOM element
-
-
Method Details
-
getFilterName
Name of the filter object.- Returns:
- Filter
-
getCondition
public boolean getCondition()Returnstrue
if the filter should match or not match.- Returns:
- Match condition
-
getReturnCode
public int getReturnCode()Returns the return code of the Object in case the filter matches.- Returns:
- Return code
-
getExecuteObject
Returns the name of the Automation Engine object which should be executed if the filter matches.- Returns:
- Name of the object
-
getStatusText
Returns the status text that is used for the task's remote status when the filter definition applies.- Returns:
- Status text that is used for the task's remote status
-
store
Saves the content of this instance in an XML DOM Element.- Parameters:
doc
- Documentparent
- Parent element
-
hashCode
public int hashCode() -
equals
-