Class PartCollector.Builder
java.lang.Object
com.ptc.windchill.collector.api.part.PartCollector.Builder
- Enclosing class:
PartCollector
Used to build an immutable PartCollector object.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder(PartCollector seedCollector, Collection<PartSpatialRule> spatialRules) Builds a collector that can collect dependents based a seed collector
and additional spatial rules.
The new collector builds upon the results of the seed collector.
This is provided for performance purposes when doing proximity spatial
rule processing.Builder(WTCollection seeds, NavigationCriteria criteria) Builds a collector that can collect dependents for multiple part
seeds with the given navigation criteria.
Spatial rule processing is not enabled.
Supported API: trueBuilder(Iterated seed, NavigationCriteria criteria, boolean spatialRuleProcessingEnabled) Builds a collector that can collect dependents for a single part
seed with the given navigation criteria.
This constructor allows you to specify whether or not to allow for
spatial rule processing.Builder(Iterated seed, NavigationCriteria criteria, boolean spatialRuleProcessingEnabled, boolean calculateDistance) Builds a collector that can collect dependents for a single part
seed with the given navigation criteria.
This constructor allows you to specify whether or not to allow for
spatial rule processing.Builder(Iterated seed, NavigationCriteria criteria, Collection<PartSpatialRule> spatialRules) Builds a collector that can collect dependents for a single part
seed with the given navigation criteria and spatial rules.
This constructor allows you to specify whether or not to allow for
spatial rule processing.Builder(Iterated seed, NavigationCriteria criteria, Collection<PartSpatialRule> spatialRules, boolean calculateDistance) Builds a collector that can collect dependents for a single part
seed with the given navigation criteria and spatial rules.
This constructor allows you to specify whether or not to allow for
spatial rule processing. -
Method Summary
-
Constructor Details
-
Builder
Builds a collector that can collect dependents based a seed collector
and additional spatial rules.
The new collector builds upon the results of the seed collector.
This is provided for performance purposes when doing proximity spatial
rule processing. When doing this it is advisable to get the paths
you wish to use for proximity rule processing from an initial
collector and then to build on top of that collector with this
constructor when applying the spatial rules.
Supported API: true- Parameters:
seedCollector-spatialRules-
-
Method Details
-
build
Builds the immutable collector.
Supported API: true- Returns:
- PartCollector
- Throws:
IllegalArgumentExceptionWTException
-