Interface VariationPointsProvider
- 
@OpenApiAll public interface VariationPointsProviderImplementations are used byVariantRealizationTransformationto perform model transformation 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()java.util.Collection<Element>getVariabilityElements(java.util.Collection<Element> scope)Collects elements to be transformed in given scopejava.util.Collection<VariationPoint>getVariationPoints(Element element)Creates VariationPoint for given elementvoidsetUp(Project project, PropertyManager propertyManager)Should be called before the transformation.voidtearDown(java.util.Collection<VariationPoint> failed)Automatically called after transformation of all variation points is finished 
 - 
 
- 
- 
Method Detail
- 
getName
java.lang.String getName()
- Returns:
 - name of this VariationPointsProvider
 
 
- 
setUp
void setUp(Project project, @CheckForNull PropertyManager propertyManager)
Should be called before the transformation. Resources required for other methods should be initialized here- Parameters:
 project- currently open project that will be transformedpropertyManager- may contain custom properties specific for this transformation
 
- 
getVariabilityElements
java.util.Collection<Element> getVariabilityElements(java.util.Collection<Element> scope)
Collects elements to be transformed in given scope- Parameters:
 scope- scope to collect elements from- Returns:
 - elements to be transformed
 
 
- 
getVariationPoints
java.util.Collection<VariationPoint> getVariationPoints(Element element)
Creates VariationPoint for given element- Parameters:
 element- given element- Returns:
 - VariationPoint for given element, 
VariationPointsFactory 
 
- 
tearDown
void tearDown(java.util.Collection<VariationPoint> failed)
Automatically called after transformation of all variation points is finished- Parameters:
 failed- list of variation points that could not be successfully transformed
 
 - 
 
 -