Class IterationProgress
- java.lang.Object
-
- org.ocpsoft.rewrite.config.DefaultOperationBuilder
-
- org.jboss.windup.config.operation.GraphOperation
-
- org.jboss.windup.config.operation.iteration.AbstractIterationOperation<org.jboss.windup.graph.model.WindupVertexFrame>
-
- org.jboss.windup.config.operation.IterationProgress
-
- All Implemented Interfaces:
org.ocpsoft.rewrite.config.Operation,org.ocpsoft.rewrite.config.OperationBuilder
public class IterationProgress extends AbstractIterationOperation<org.jboss.windup.graph.model.WindupVertexFrame>
Provides a simplistic way of printing a message to the log everyintervaliterations.- Author:
- Jesse Sightler
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IterationProgressdisableTimeEstimation()static IterationProgressmonitoring(String messagePrefix, int interval)voidperform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)voidperform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.jboss.windup.graph.model.WindupVertexFrame payload)StringtoString()-
Methods inherited from class org.jboss.windup.config.operation.iteration.AbstractIterationOperation
camelCase, checkVariableName, getVariableName, hasVariableNameSet, resolvePayload, resolveVariable, setVariableName
-
Methods inherited from class org.jboss.windup.config.operation.GraphOperation
perform
-
-
-
-
Method Detail
-
monitoring
public static IterationProgress monitoring(String messagePrefix, int interval)
-
disableTimeEstimation
public IterationProgress disableTimeEstimation()
-
perform
public void perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)
- Overrides:
performin classAbstractIterationOperation<org.jboss.windup.graph.model.WindupVertexFrame>
-
perform
public void perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.jboss.windup.graph.model.WindupVertexFrame payload)
- Specified by:
performin classAbstractIterationOperation<org.jboss.windup.graph.model.WindupVertexFrame>
-
toString
public String toString()
- Overrides:
toStringin classAbstractIterationOperation<org.jboss.windup.graph.model.WindupVertexFrame>
-
-