| Modifier and Type | Method and Description |
|---|---|
void |
RuleLifecycleListener.afterExecution(GraphRewrite event)
Called immediately after any
Rule instances are executed. |
void |
AbstractRuleLifecycleListener.afterExecution(GraphRewrite event) |
void |
RuleLifecycleListener.afterRuleConditionEvaluation(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
org.ocpsoft.rewrite.config.Rule rule,
boolean result)
Called immediately after execution of the each
Rule. |
void |
AbstractRuleLifecycleListener.afterRuleConditionEvaluation(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
org.ocpsoft.rewrite.config.Rule rule,
boolean result) |
void |
RuleLifecycleListener.afterRuleExecutionFailed(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
org.ocpsoft.rewrite.config.Rule rule,
Throwable failureCause)
Called immediately after a a
Rule has thrown an exception, to indicate a failure of some kind |
void |
AbstractRuleLifecycleListener.afterRuleExecutionFailed(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
org.ocpsoft.rewrite.config.Rule rule,
Throwable failureCause) |
void |
RuleLifecycleListener.afterRuleOperationsPerformed(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
org.ocpsoft.rewrite.config.Rule rule)
Called immediately after
Rule operations are performed (Only called if
Condition.evaluate(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext) returned true). |
void |
AbstractRuleLifecycleListener.afterRuleOperationsPerformed(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
org.ocpsoft.rewrite.config.Rule rule) |
void |
RuleLifecycleListener.beforeExecution(GraphRewrite event)
Called immediately before any
Rule instances are executed. |
void |
AbstractRuleLifecycleListener.beforeExecution(GraphRewrite event) |
boolean |
RuleLifecycleListener.beforeRuleEvaluation(GraphRewrite event,
org.ocpsoft.rewrite.config.Rule rule,
org.ocpsoft.rewrite.context.EvaluationContext context)
Called immediately before the given
Rule is executed. |
boolean |
AbstractRuleLifecycleListener.beforeRuleEvaluation(GraphRewrite event,
org.ocpsoft.rewrite.config.Rule rule,
org.ocpsoft.rewrite.context.EvaluationContext context) |
boolean |
RuleLifecycleListener.beforeRuleOperationsPerformed(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
org.ocpsoft.rewrite.config.Rule rule)
Called immediately before
Rule operations are performed (Only called if
Condition.evaluate(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext) returned true). |
boolean |
AbstractRuleLifecycleListener.beforeRuleOperationsPerformed(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
org.ocpsoft.rewrite.config.Rule rule) |
abstract boolean |
GraphRule.evaluate(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context)
Evaluate this rule against the given
GraphRewrite event. |
static Variables |
Variables.instance(GraphRewrite event)
Get an instance of the
Variables stack from the given GraphRewrite event context. |
abstract void |
GraphRule.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context)
Perform the
Operation. |
void |
PreRulesetEvaluation.preRulesetEvaluation(GraphRewrite event)
The action to be performed before evaluation of the compiled
Rule set. |
boolean |
RuleLifecycleListener.ruleEvaluationProgress(GraphRewrite event,
String name,
int currentPosition,
int total,
int timeRemainingInSeconds)
This is optionally called by long-running rules to indicate their current progress and estimated time-remaining.
|
boolean |
AbstractRuleLifecycleListener.ruleEvaluationProgress(GraphRewrite event,
String name,
int currentPosition,
int total,
int timeRemainingInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ParamCondition.evaluate(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
abstract boolean |
GraphCondition.evaluate(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
protected void |
GraphCondition.setResults(GraphRewrite event,
String variable,
Iterable<? extends WindupVertexFrame> results)
This sets the variable with the given name to the given value.
|
| Modifier and Type | Method and Description |
|---|---|
static LabelProviderRegistry |
LabelProviderRegistry.instance(GraphRewrite event)
Gets the current instance of
LabelProviderRegistry. |
static RuleProviderRegistry |
RuleProviderRegistry.instance(GraphRewrite event)
Gets the current instance of
RuleProviderRegistry. |
| Modifier and Type | Method and Description |
|---|---|
static String |
Iteration.getPayloadVariableName(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext ctx)
Return the current
Iteration payload variable name. |
void |
Commit.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
abstract void |
GraphOperation.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
void |
Iteration.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context)
Called internally to actually process the Iteration.
|
void |
IterationProgress.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
void |
IterationProgress.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
WindupVertexFrame payload) |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeOperation.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
WindupVertexFrame payload) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractIterationFilter.checkVariableName(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context)
Check the variable name and if not set, set it with the singleton variable being on the top of the stack.
|
protected void |
AbstractIterationOperation.checkVariableName(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context)
Check the variable name and if not set, set it with the singleton variable name being on the top of the stack.
|
boolean |
AbstractIterationFilter.evaluate(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
abstract boolean |
AbstractIterationFilter.evaluate(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
T payload) |
Iterable<? extends WindupVertexFrame> |
TypedFramesSelector.getFrames(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
Iterable<? extends WindupVertexFrame> |
TopLayerSingletonFramesSelector.getFrames(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
Iterable<? extends WindupVertexFrame> |
NamedFramesSelector.getFrames(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
Iterable<? extends WindupVertexFrame> |
TypedNamedFramesSelector.getFrames(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
void |
AbstractIterationOperation.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
abstract void |
AbstractIterationOperation.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
T payload) |
T |
AbstractIterationOperation.resolvePayload(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
WindupVertexFrame payload) |
protected WindupVertexFrame |
AbstractIterationOperation.resolveVariable(GraphRewrite event,
String variableName)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ParameterizedGraphCondition.evaluate(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
protected abstract boolean |
ParameterizedGraphCondition.evaluateAndPopulateValueStores(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
FrameCreationContext frameCreationContext) |
protected abstract boolean |
ParameterizedGraphCondition.evaluateWithValueStore(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
FrameContext frame) |
void |
ParameterizedIterationOperation.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
void |
ParameterizedIterationOperation.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
T payload) |
abstract void |
ParameterizedIterationOperation.performParameterized(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
T payload) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectTraversalCache.beforeExecution(GraphRewrite event) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Query.evaluate(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
boolean |
WindupConfigurationQuery.evaluate(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context)
Only here to allow the class extend GraphCondition to show up in code completion.
|
void |
OutCriterion.query(GraphRewrite event,
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<?,org.apache.tinkerpop.gremlin.structure.Vertex> pipeline) |
void |
OutAndBackCriterion.query(GraphRewrite event,
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<?,org.apache.tinkerpop.gremlin.structure.Vertex> pipeline) |
void |
QueryGremlinCriterion.query(GraphRewrite event,
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<?,org.apache.tinkerpop.gremlin.structure.Vertex> pipeline) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SingleRuleProvider.evaluate(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context)
Evaluate this
Rule against the given GraphRewrite event. |
abstract void |
SingleRuleProvider.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context)
Perform the
Operation. |
abstract void |
IteratingRuleProvider.perform(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
PAYLOADTYPE payload)
Perform this function for each
WindupVertexFrame returned by the "when" clause. |
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends WindupVertexFrame> |
FramesSelector.getFrames(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context)
Get the currently selected
WindupVertexFrame instances for this Iteration. |
Copyright © 2021 JBoss by Red Hat. All rights reserved.