public class GraphRewrite
extends org.ocpsoft.rewrite.AbstractRewrite
implements org.ocpsoft.rewrite.event.Rewrite
| Constructor and Description |
|---|
GraphRewrite(GraphContext context) |
GraphRewrite(Iterable<RuleLifecycleListener> listeners,
GraphContext context) |
| Modifier and Type | Method and Description |
|---|---|
org.ocpsoft.rewrite.event.Flow |
getFlow() |
GraphContext |
getGraphContext() |
org.jboss.windup.util.exception.WindupStopException |
getWindupStopException() |
boolean |
ruleEvaluationProgress(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.
|
void |
setWindupStopException(org.jboss.windup.util.exception.WindupStopException windupStopException)
Stores the exception which holds information if, and where, the Windup stopped (typically on an external request).
|
boolean |
shouldWindupStop() |
getEvaluatedRules, getRewriteContext, logEvaluatedRulespublic GraphRewrite(GraphContext context)
public GraphRewrite(Iterable<RuleLifecycleListener> listeners, GraphContext context)
public org.jboss.windup.util.exception.WindupStopException getWindupStopException()
public void setWindupStopException(org.jboss.windup.util.exception.WindupStopException windupStopException)
public org.ocpsoft.rewrite.event.Flow getFlow()
getFlow in interface org.ocpsoft.rewrite.event.Rewritepublic GraphContext getGraphContext()
public boolean ruleEvaluationProgress(String name, int currentPosition, int total, int timeRemainingInSeconds)
public boolean shouldWindupStop()
Copyright © 2021 JBoss by Red Hat. All rights reserved.