Class VariantRealizationTransformation
- java.lang.Object
-
- com.nomagic.magicdraw.variants.transformation.VariantRealizationTransformation
-
@OpenApiAll public class VariantRealizationTransformation extends java.lang.Object
Performs model transformation in scope using givenVariationPointsProvider
-
-
Constructor Summary
Constructors Constructor Description VariantRealizationTransformation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
transform(com.nomagic.magicdraw.variants.transformation.VariantTransformation<? extends VariationPointsProvider> variantTransformation, ProgressStatus status, java.util.Collection<Element> scope)
static void
transform(VariationPointsProvider provider, ProgressStatus status, java.util.Collection<Element> scope)
static void
transform(VariationPointsProvider provider, ProgressStatus status, java.util.Collection<Element> scope, Notifier notifier)
static void
transform(VariationPointsProvider provider, ProgressStatus status, java.util.Collection<Element> scope, Notifier notifier, boolean ignoreElementPermissions)
static void
transform(VariationPointsProvider provider, ProgressStatus status, java.util.Collection<Element> scope, Notifier notifier, TransformationParameters transformationParameters)
static void
transform(VariationPointsProvider provider, java.util.Collection<Element> scope)
static void
transform(VariationPointsProvider provider, java.util.Collection<Element> scope, boolean ignoreElementPermissions)
-
-
-
Method Detail
-
transform
public static void transform(VariationPointsProvider provider, java.util.Collection<Element> scope)
- Parameters:
provider
- defines which model elements are transformablescope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.
-
transform
public static void transform(VariationPointsProvider provider, java.util.Collection<Element> scope, boolean ignoreElementPermissions)
- Parameters:
provider
- defines which model elements are transformablescope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.ignoreElementPermissions
- if true, even read only elements be transformed (except for elements from read-only used projects). Doing so is only recommended if the transformation result will not be committed/saved to the edited (current) branch/file.
-
transform
public static void transform(VariationPointsProvider provider, @CheckForNull ProgressStatus status, java.util.Collection<Element> scope)
- Parameters:
provider
- defines which model elements are transformablestatus
- progress status of the transformationscope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project. Doing so is only recommended if the transformation result will not be committed to the edited (current) branch.
-
transform
public static void transform(VariationPointsProvider provider, @CheckForNull ProgressStatus status, java.util.Collection<Element> scope, Notifier notifier)
- Parameters:
provider
- defines which model elements are transformablestatus
- progress status of the transformationscope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.notifier
- notifies users about various abnormal situations when transforming.
-
transform
public static void transform(VariationPointsProvider provider, @CheckForNull ProgressStatus status, java.util.Collection<Element> scope, Notifier notifier, boolean ignoreElementPermissions)
- Parameters:
provider
- defines which model elements are transformablestatus
- progress status of the transformationscope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.notifier
- notifies users about various abnormal situations when transforming.ignoreElementPermissions
- if true, even read only elements be transformed (except for elements from read-only used projects). Doing so is only recommended if the transformation result will not be committed/saved to the edited (current) branch/file.
-
transform
public static void transform(VariationPointsProvider provider, @CheckForNull ProgressStatus status, java.util.Collection<Element> scope, Notifier notifier, TransformationParameters transformationParameters)
- Parameters:
provider
- defines which model elements are transformablestatus
- progress status of the transformationscope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.notifier
- notifies users about various abnormal situations when transforming.transformationParameters
- transformation parameters
-
transform
public static void transform(com.nomagic.magicdraw.variants.transformation.VariantTransformation<? extends VariationPointsProvider> variantTransformation, @CheckForNull ProgressStatus status, java.util.Collection<Element> scope)
- Parameters:
variantTransformation
- the transformation engine that performs the transformstatus
- progress status of the transformationscope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.
-
-