Package com._1c.g5.v8.derived.context
Class PartBasedContextCollectorBuilderChain
- java.lang.Object
-
- com._1c.g5.v8.derived.context.DerivedDataBuilderChain<PartBasedContextCollectorBuilder,IContextCollector>
-
- com._1c.g5.v8.derived.context.PartBasedContextCollectorBuilderChain
-
public class PartBasedContextCollectorBuilderChain extends DerivedDataBuilderChain<PartBasedContextCollectorBuilder,IContextCollector>
A convenience class allowing to build several scope collectors in one call chain.
-
-
Constructor Summary
Constructors Constructor Description PartBasedContextCollectorBuilderChain(String segmentId)
Creates builder chain for the given DD segment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IContextCollector
collectBuilderResult(PartBasedContextCollectorBuilder builder)
Collects the result of a particular builder.protected PartBasedContextCollectorBuilder
createSpecificBuilder(org.eclipse.emf.ecore.EClass eClass)
Creates specific builder instance for the given class.-
Methods inherited from class com._1c.g5.v8.derived.context.DerivedDataBuilderChain
compile, newRule, rule
-
-
-
-
Constructor Detail
-
PartBasedContextCollectorBuilderChain
public PartBasedContextCollectorBuilderChain(String segmentId)
Creates builder chain for the given DD segment.- Parameters:
segmentId
- The identifier of the DD segment.
-
-
Method Detail
-
collectBuilderResult
protected IContextCollector collectBuilderResult(PartBasedContextCollectorBuilder builder)
Collects the result of a particular builder.- Specified by:
collectBuilderResult
in classDerivedDataBuilderChain<PartBasedContextCollectorBuilder,IContextCollector>
- Parameters:
builder
- The builder to collect result for.- Returns:
- The result of the builder work.
-
createSpecificBuilder
protected PartBasedContextCollectorBuilder createSpecificBuilder(org.eclipse.emf.ecore.EClass eClass)
Creates specific builder instance for the given class.- Specified by:
createSpecificBuilder
in classDerivedDataBuilderChain<PartBasedContextCollectorBuilder,IContextCollector>
- Parameters:
eClass
- The context class for the builder being created.- Returns:
- New instance of the builder.
-
-