
public class ConditionWhenPropertyIs extends Condition
| Constructor and Description |
|---|
ConditionWhenPropertyIs(String propName,
String value) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doEval(TreeLogger logger,
DeferredBindingQuery query) |
protected String |
getEvalAfterMessage(String testType,
boolean result) |
protected String |
getEvalBeforeMessage(String testType) |
Set<String> |
getRequiredProperties()
Returns the set of property names that the Condition requires in order to
be evaluated.
|
String |
toSource()
Returns the Java source String to runtime check the condition being encapsulated here.
|
String |
toString() |
public Set<String> getRequiredProperties()
ConditiongetRequiredProperties in class Conditionpublic String toSource()
Conditionprotected boolean doEval(TreeLogger logger, DeferredBindingQuery query) throws UnableToCompleteException
doEval in class ConditionUnableToCompleteExceptionprotected String getEvalAfterMessage(String testType, boolean result)
getEvalAfterMessage in class Conditionprotected String getEvalBeforeMessage(String testType)
getEvalBeforeMessage in class ConditionCopyright © 2018. All rights reserved.