Class LogicalExpression
java.lang.Object
com.inductiveautomation.ignition.common.expressions.AbstractExpression
com.inductiveautomation.ignition.common.expressions.LogicalExpression
- All Implemented Interfaces:
Expression
-
Field Summary
FieldsFields inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
children, context, updateListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull QualifiedValueexecute()Compute and return the value of this expression.Return a human-readable name for the operation that this expression performs.intClass<?>getType()Return the type that this expression will return.voidsetOpType(int i) Methods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
connect, disconnect, getChildren, setChildren, shutdown, startup
-
Field Details
-
AND
public static final int AND- See Also:
-
OR
public static final int OR- See Also:
-
-
Constructor Details
-
LogicalExpression
-
LogicalExpression
public LogicalExpression()
-
-
Method Details
-
execute
Description copied from interface:ExpressionCompute and return the value of this expression.- Returns:
- the result of the expression evaluation as a
QualifiedValue - Throws:
ExpressionException- if an error occurs during execution
-
getType
Description copied from interface:ExpressionReturn the type that this expression will return.- Returns:
- the
Classof the value returned byExpression.execute()
-
getOpName
Description copied from interface:ExpressionReturn a human-readable name for the operation that this expression performs.- Returns:
- the operation name
-
getOpType
public int getOpType() -
setOpType
public void setOpType(int i)
-