Class BooleanOperator
- java.lang.Object
-
- org.fedoraproject.xmvn.tools.install.condition.BooleanExpression
-
- org.fedoraproject.xmvn.tools.install.condition.BooleanOperator
-
abstract class BooleanOperator extends BooleanExpression
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<BooleanExpression>
children
private boolean
neutralValue
-
Constructor Summary
Constructors Constructor Description BooleanOperator(boolean neutralValue, java.util.List<BooleanExpression> children)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract boolean
evaluate(boolean lhs, boolean rhs)
boolean
getValue(ArtifactContext context)
-
-
-
Field Detail
-
neutralValue
private final boolean neutralValue
-
children
private final java.util.List<BooleanExpression> children
-
-
Constructor Detail
-
BooleanOperator
public BooleanOperator(boolean neutralValue, java.util.List<BooleanExpression> children)
-
-
Method Detail
-
getValue
public boolean getValue(ArtifactContext context)
- Specified by:
getValue
in classBooleanExpression
-
evaluate
protected abstract boolean evaluate(boolean lhs, boolean rhs)
-
-