public class RuleAssert extends GraphAssert<ElementGraph> implements Rule
GraphAssert.AssertionType
Constructor and Description |
---|
RuleAssert(PlanPhase phase,
RuleExpression ruleExpression,
String message) |
RuleAssert(PlanPhase phase,
RuleExpression ruleExpression,
String message,
GraphAssert.AssertionType assertionType) |
Modifier and Type | Method and Description |
---|---|
String |
getRuleName() |
PlanPhase |
getRulePhase() |
String |
toString() |
protected Transformed<ElementGraph> |
transform(PlannerContext plannerContext,
ElementGraph graph) |
assertion
public RuleAssert(PlanPhase phase, RuleExpression ruleExpression, String message)
public RuleAssert(PlanPhase phase, RuleExpression ruleExpression, String message, GraphAssert.AssertionType assertionType)
public PlanPhase getRulePhase()
getRulePhase
in interface Rule
public String getRuleName()
getRuleName
in interface Rule
protected Transformed<ElementGraph> transform(PlannerContext plannerContext, ElementGraph graph)
transform
in class GraphAssert<ElementGraph>
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.