Class MultiVariantModelBasicFix.VariantBuilder
java.lang.Object
com.e1c.g5.v8.dt.check.qfix.components.MultiVariantModelBasicFix.VariantBuilder
- Enclosing class:
- MultiVariantModelBasicFix
Provides a builder of the quick fix variant
-
Constructor Summary
ConstructorsConstructorDescriptionCreates variant builder instance -
Method Summary
Modifier and TypeMethodDescriptionvoid
build()
Finalizes the variant builder, registers the variantchange
(VariantModelFixChangeDelegate<org.eclipse.emf.ecore.EObject> delegate) Creates code change delegateStatic variant builder creatordescription
(String description, String details) Creates variant description and details messages
-
Constructor Details
-
VariantBuilder
Creates variant builder instance- Parameters:
fix
- the reference to the model fix, cannot benull
-
-
Method Details
-
create
Static variant builder creator- Parameters:
fix
- the reference to the model fix, cannot benull
- Returns:
- the instance of the variant builder, never
null
-
change
public MultiVariantModelBasicFix.VariantBuilder change(VariantModelFixChangeDelegate<org.eclipse.emf.ecore.EObject> delegate) Creates code change delegate- Parameters:
delegate
- change delegate, cannot benull
- Returns:
- the instance of the variant builder, never
null
-
description
Creates variant description and details messages- Parameters:
description
- the short description, cannot benull
details
- the detailed message, can benull
- Returns:
- the instance of the variant builder, never
null
-
build
public void build()Finalizes the variant builder, registers the variant
-