public class OutputScanFilter
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
OutputScanFilter(org.w3c.dom.Element row)
Creates a new instance of this class from an XML element
|
|
OutputScanFilter(UC4ObjectName filterName,
boolean condition,
int returnCode,
UC4ObjectName executeObject)
Creates a new instance of this class.
|
|
OutputScanFilter(UC4ObjectName filterName,
boolean condition,
int returnCode,
UC4ObjectName executeObject,
java.lang.String statusText)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getCondition()
Returns
true if the filter should match or not match. |
UC4ObjectName |
getExecuteObject()
Returns the name of the Automation Engine object which should be executed if the filter matches.
|
UC4ObjectName |
getFilterName()
Name of the filter object.
|
int |
getReturnCode()
Returns the return code of the Object in case the filter matches.
|
java.lang.String |
getStatusText()
Returns the status text that is used for the task's remote status when the filter definition applies.
|
int |
hashCode() |
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element parent,
int lnr)
Saves the content of this instance in an XML DOM Element.
|
public OutputScanFilter(UC4ObjectName filterName, boolean condition, int returnCode, UC4ObjectName executeObject, java.lang.String statusText)
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 appliespublic OutputScanFilter(UC4ObjectName filterName, boolean condition, int returnCode, UC4ObjectName executeObject)
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 matchesprotected OutputScanFilter(org.w3c.dom.Element row)
row
- DOM elementpublic UC4ObjectName getFilterName()
public boolean getCondition()
true
if the filter should match or not match.public int getReturnCode()
public UC4ObjectName getExecuteObject()
public java.lang.String getStatusText()
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element parent, int lnr)
doc
- Documentparent
- Parent elementpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object