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()
Condition
getRequiredProperties
in class Condition
public String toSource()
Condition
protected boolean doEval(TreeLogger logger, DeferredBindingQuery query) throws UnableToCompleteException
doEval
in class Condition
UnableToCompleteException
protected String getEvalAfterMessage(String testType, boolean result)
getEvalAfterMessage
in class Condition
protected String getEvalBeforeMessage(String testType)
getEvalBeforeMessage
in class Condition
Copyright © 2018. All rights reserved.