Class ProjectTraversalCache
- java.lang.Object
-
- org.jboss.windup.config.AbstractRuleLifecycleListener
-
- org.jboss.windup.config.projecttraversal.ProjectTraversalCache
-
- All Implemented Interfaces:
RuleLifecycleListener
public class ProjectTraversalCache extends AbstractRuleLifecycleListener
Maintains a cache of some traversal data to prevent the need for frequent recalculation of this data.- Author:
- Jesse Sightler
-
-
Constructor Summary
Constructors Constructor Description ProjectTraversalCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeExecution(GraphRewrite event)Called immediately before anyRuleinstances are executed.static voidclear()static Set<org.jboss.windup.graph.model.ProjectModel>getApplicationsForProject(org.jboss.windup.graph.GraphContext context, org.jboss.windup.graph.model.ProjectModel project)-
Methods inherited from class org.jboss.windup.config.AbstractRuleLifecycleListener
afterExecution, afterRuleConditionEvaluation, afterRuleExecutionFailed, afterRuleOperationsPerformed, beforeRuleEvaluation, beforeRuleOperationsPerformed, ruleEvaluationProgress, shouldWindupStop
-
-
-
-
Method Detail
-
beforeExecution
public void beforeExecution(GraphRewrite event)
Description copied from interface:RuleLifecycleListenerCalled immediately before anyRuleinstances are executed.- Specified by:
beforeExecutionin interfaceRuleLifecycleListener- Overrides:
beforeExecutionin classAbstractRuleLifecycleListener
-
getApplicationsForProject
public static Set<org.jboss.windup.graph.model.ProjectModel> getApplicationsForProject(org.jboss.windup.graph.GraphContext context, org.jboss.windup.graph.model.ProjectModel project)
-
clear
public static void clear()
-
-