public class ConditionWhenTypeAssignableTo extends Condition
Constructor and Description |
---|
ConditionWhenTypeAssignableTo(String assignableToTypeName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doEval(TreeLogger logger,
DeferredBindingQuery query) |
String |
getAssignableToTypeName() |
protected String |
getEvalAfterMessage(String testType,
boolean result) |
protected String |
getEvalBeforeMessage(String testType) |
String |
toSource()
Returns the Java source String to runtime check the condition being encapsulated here.
|
String |
toString() |
getRequiredProperties, isTrue
public ConditionWhenTypeAssignableTo(String assignableToTypeName)
public String getAssignableToTypeName()
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.