Interface CDORevisionCrawler.FeatureStrategy
- Enclosing class:
CDORevisionCrawler
public static interface CDORevisionCrawler.FeatureStrategy
Strategy for deciding how to handle features during crawling.
- Author:
- Eike Stepper
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDecision for feature handling: skip, handle, follow, or both. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CDORevisionCrawler.FeatureStrategyHandles only the current feature, does not follow references.static final CDORevisionCrawler.FeatureStrategyHandles the current feature and follows containment references. -
Method Summary
Modifier and TypeMethodDescriptiondecide(CDORevision revision, EStructuralFeature feature) Decides how to handle a feature for a given revision.
-
Field Details
-
SINGLE
Handles only the current feature, does not follow references. -
TREE
Handles the current feature and follows containment references.
-
-
Method Details
-
decide
CDORevisionCrawler.FeatureStrategy.Decision decide(CDORevision revision, EStructuralFeature feature) Decides how to handle a feature for a given revision.- Parameters:
revision- the revisionfeature- the feature- Returns:
- the decision
-