public abstract class GraphCondition
extends org.ocpsoft.rewrite.config.DefaultConditionBuilder
Condition that evaluates against a GraphRewrite event.| Constructor and Description |
|---|
GraphCondition() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
evaluate(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
boolean |
evaluate(org.ocpsoft.rewrite.event.Rewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
String |
getInputVariablesName() |
String |
getOutputVariablesName() |
void |
setInputVariablesName(String variablesName) |
void |
setOutputVariablesName(String outputVariablesName) |
protected void |
setResults(GraphRewrite event,
String variable,
Iterable<? extends WindupVertexFrame> results)
This sets the variable with the given name to the given value.
|
public abstract boolean evaluate(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)
public void setInputVariablesName(String variablesName)
public String getInputVariablesName()
public final boolean evaluate(org.ocpsoft.rewrite.event.Rewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context)
public String getOutputVariablesName()
public void setOutputVariablesName(String outputVariablesName)
protected void setResults(GraphRewrite event, String variable, Iterable<? extends WindupVertexFrame> results)
Copyright © 2021 JBoss by Red Hat. All rights reserved.