Uses of Class
org.jboss.windup.config.GraphRewrite
-
-
Uses of GraphRewrite in org.jboss.windup.config
Methods in org.jboss.windup.config with parameters of type GraphRewrite Modifier and Type Method Description voidAbstractRuleLifecycleListener. afterExecution(GraphRewrite event)voidRuleLifecycleListener. afterExecution(GraphRewrite event)Called immediately after anyRuleinstances are executed.voidAbstractRuleLifecycleListener. afterRuleConditionEvaluation(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.ocpsoft.rewrite.config.Rule rule, boolean result)voidRuleLifecycleListener. afterRuleConditionEvaluation(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.ocpsoft.rewrite.config.Rule rule, boolean result)Called immediately after execution of the eachRule.voidAbstractRuleLifecycleListener. afterRuleExecutionFailed(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.ocpsoft.rewrite.config.Rule rule, Throwable failureCause)voidRuleLifecycleListener. afterRuleExecutionFailed(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.ocpsoft.rewrite.config.Rule rule, Throwable failureCause)Called immediately after a aRulehas thrown an exception, to indicate a failure of some kindvoidAbstractRuleLifecycleListener. afterRuleOperationsPerformed(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.ocpsoft.rewrite.config.Rule rule)voidRuleLifecycleListener. afterRuleOperationsPerformed(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.ocpsoft.rewrite.config.Rule rule)Called immediately afterRuleoperations are performed (Only called ifCondition.evaluate(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext)returnedtrue).voidAbstractRuleLifecycleListener. beforeExecution(GraphRewrite event)voidRuleLifecycleListener. beforeExecution(GraphRewrite event)Called immediately before anyRuleinstances are executed.booleanAbstractRuleLifecycleListener. beforeRuleEvaluation(GraphRewrite event, org.ocpsoft.rewrite.config.Rule rule, org.ocpsoft.rewrite.context.EvaluationContext context)booleanRuleLifecycleListener. beforeRuleEvaluation(GraphRewrite event, org.ocpsoft.rewrite.config.Rule rule, org.ocpsoft.rewrite.context.EvaluationContext context)Called immediately before the givenRuleis executed.booleanAbstractRuleLifecycleListener. beforeRuleOperationsPerformed(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.ocpsoft.rewrite.config.Rule rule)booleanRuleLifecycleListener. beforeRuleOperationsPerformed(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.ocpsoft.rewrite.config.Rule rule)Called immediately beforeRuleoperations are performed (Only called ifCondition.evaluate(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext)returnedtrue).abstract booleanGraphRule. evaluate(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)Evaluate this rule against the givenGraphRewriteevent.static VariablesVariables. instance(GraphRewrite event)Get an instance of theVariablesstack from the givenGraphRewriteevent context.abstract voidGraphRule. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)Perform theOperation.voidPreRulesetEvaluation. preRulesetEvaluation(GraphRewrite event)The action to be performed before evaluation of the compiledRuleset.booleanAbstractRuleLifecycleListener. ruleEvaluationProgress(GraphRewrite event, String name, int currentPosition, int total, int timeRemainingInSeconds)booleanRuleLifecycleListener. 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. -
Uses of GraphRewrite in org.jboss.windup.config.condition
Methods in org.jboss.windup.config.condition with parameters of type GraphRewrite Modifier and Type Method Description abstract booleanGraphCondition. evaluate(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)booleanParamCondition. evaluate(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)protected voidGraphCondition. setResults(GraphRewrite event, String variable, Iterable<? extends org.jboss.windup.graph.model.WindupVertexFrame> results)This sets the variable with the given name to the given value. -
Uses of GraphRewrite in org.jboss.windup.config.metadata
Methods in org.jboss.windup.config.metadata with parameters of type GraphRewrite Modifier and Type Method Description static LabelProviderRegistryLabelProviderRegistry. instance(GraphRewrite event)Gets the current instance ofLabelProviderRegistry.static RuleProviderRegistryRuleProviderRegistry. instance(GraphRewrite event)Gets the current instance ofRuleProviderRegistry. -
Uses of GraphRewrite in org.jboss.windup.config.operation
Methods in org.jboss.windup.config.operation with parameters of type GraphRewrite Modifier and Type Method Description static StringIteration. getPayloadVariableName(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext ctx)Return the currentIterationpayload variable name.voidCommit. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)abstract voidGraphOperation. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)voidIteration. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)Called internally to actually process the Iteration.voidIterationProgress. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)voidIterationProgress. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.jboss.windup.graph.model.WindupVertexFrame payload) -
Uses of GraphRewrite in org.jboss.windup.config.operation.graph
Methods in org.jboss.windup.config.operation.graph with parameters of type GraphRewrite Modifier and Type Method Description voidTypeOperation. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.jboss.windup.graph.model.WindupVertexFrame payload) -
Uses of GraphRewrite in org.jboss.windup.config.operation.iteration
Methods in org.jboss.windup.config.operation.iteration with parameters of type GraphRewrite Modifier and Type Method Description protected voidAbstractIterationFilter. 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 voidAbstractIterationOperation. 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.booleanAbstractIterationFilter. evaluate(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)abstract booleanAbstractIterationFilter. evaluate(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, T payload)Iterable<? extends org.jboss.windup.graph.model.WindupVertexFrame>NamedFramesSelector. getFrames(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)Iterable<? extends org.jboss.windup.graph.model.WindupVertexFrame>TopLayerSingletonFramesSelector. getFrames(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)Iterable<? extends org.jboss.windup.graph.model.WindupVertexFrame>TypedFramesSelector. getFrames(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)Iterable<? extends org.jboss.windup.graph.model.WindupVertexFrame>TypedNamedFramesSelector. getFrames(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)voidAbstractIterationOperation. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)abstract voidAbstractIterationOperation. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, T payload)TAbstractIterationOperation. resolvePayload(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, org.jboss.windup.graph.model.WindupVertexFrame payload)protected org.jboss.windup.graph.model.WindupVertexFrameAbstractIterationOperation. resolveVariable(GraphRewrite event, String variableName)Resolves variable/property name expressions of the form `#{initialModelVar.customProperty.anotherProp}`, where the `initialModelVar` has aPropertymethod of the form `@Property public X getCustomProperty()` and `X` has aPropertymethod of the form `@Property public X getAnotherProp()` -
Uses of GraphRewrite in org.jboss.windup.config.parameters
Methods in org.jboss.windup.config.parameters with parameters of type GraphRewrite Modifier and Type Method Description booleanParameterizedGraphCondition. evaluate(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)protected abstract booleanParameterizedGraphCondition. evaluateAndPopulateValueStores(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, FrameCreationContext frameCreationContext)protected abstract booleanParameterizedGraphCondition. evaluateWithValueStore(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, FrameContext frame)voidParameterizedIterationOperation. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)voidParameterizedIterationOperation. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, T payload)abstract voidParameterizedIterationOperation. performParameterized(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, T payload) -
Uses of GraphRewrite in org.jboss.windup.config.projecttraversal
Methods in org.jboss.windup.config.projecttraversal with parameters of type GraphRewrite Modifier and Type Method Description voidProjectTraversalCache. beforeExecution(GraphRewrite event) -
Uses of GraphRewrite in org.jboss.windup.config.query
Methods in org.jboss.windup.config.query with parameters of type GraphRewrite Modifier and Type Method Description booleanQuery. evaluate(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)booleanWindupConfigurationQuery. evaluate(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)Only here to allow the class extend GraphCondition to show up in code completion.voidOutAndBackCriterion. query(GraphRewrite event, org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<?,org.apache.tinkerpop.gremlin.structure.Vertex> pipeline)voidOutCriterion. query(GraphRewrite event, org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<?,org.apache.tinkerpop.gremlin.structure.Vertex> pipeline)voidQueryGremlinCriterion. query(GraphRewrite event, org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<?,org.apache.tinkerpop.gremlin.structure.Vertex> pipeline) -
Uses of GraphRewrite in org.jboss.windup.config.ruleprovider
Methods in org.jboss.windup.config.ruleprovider with parameters of type GraphRewrite Modifier and Type Method Description booleanSingleRuleProvider. evaluate(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)Evaluate thisRuleagainst the givenGraphRewriteevent.abstract voidIteratingRuleProvider. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, PAYLOADTYPE payload)Perform this function for eachWindupVertexFramereturned by the "when" clause.abstract voidSingleRuleProvider. perform(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)Perform theOperation. -
Uses of GraphRewrite in org.jboss.windup.config.selectors
Methods in org.jboss.windup.config.selectors with parameters of type GraphRewrite Modifier and Type Method Description Iterable<? extends org.jboss.windup.graph.model.WindupVertexFrame>FramesSelector. getFrames(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)Get the currently selectedWindupVertexFrameinstances for thisIteration.
-