Class IteratingPhase
- java.lang.Object
-
- org.drools.compiler.builder.impl.processors.IteratingPhase
-
- All Implemented Interfaces:
CompilationPhase
public class IteratingPhase extends Object implements CompilationPhase
Decorates aCompilationPhasevia itsSinglePackagePhaseFactory. Iterates over a collection ofCompositePackageDescrand applies the decorated phase to it.
-
-
Constructor Summary
Constructors Constructor Description IteratingPhase(String name, Collection<CompositePackageDescr> packages, PackageRegistryManager pkgRegistryManager, SinglePackagePhaseFactory phaseFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends org.kie.internal.builder.KnowledgeBuilderResult>getResults()voidprocess()StringtoString()
-
-
-
Constructor Detail
-
IteratingPhase
public IteratingPhase(String name, Collection<CompositePackageDescr> packages, PackageRegistryManager pkgRegistryManager, SinglePackagePhaseFactory phaseFactory)
-
-
Method Detail
-
process
public void process()
- Specified by:
processin interfaceCompilationPhase
-
getResults
public Collection<? extends org.kie.internal.builder.KnowledgeBuilderResult> getResults()
- Specified by:
getResultsin interfaceCompilationPhase
-
-