Package com.e1c.g5.v8.dt.bsl.check.qfix
Class MultiVariantXtextBslModuleFix.VariantBuilder
java.lang.Object
com.e1c.g5.v8.dt.bsl.check.qfix.MultiVariantXtextBslModuleFix.VariantBuilder
- Enclosing class:
- MultiVariantXtextBslModuleFix
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 variantCreates code change delegateStatic variant builder creatordescription
(String description, String details) Creates variant description and details messagesinteractive
(boolean isInteractive) Sets the modification model type - either interactive (UI) or not
-
Constructor Details
-
VariantBuilder
Creates variant builder instance- Parameters:
fix
- the reference to the model fix, cannot benull
-
-
Method Details
-
create
public static MultiVariantXtextBslModuleFix.VariantBuilder create(MultiVariantXtextBslModuleFix fix) 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 MultiVariantXtextBslModuleFix.VariantBuilder change(IMultiVariantXtextModuleFixChangeDelegate delegate) Creates code change delegate- Parameters:
delegate
- change delegate, cannot benull
- Returns:
- the instance of the variant builder, never
null
-
interactive
Sets the modification model type - either interactive (UI) or not- Parameters:
isInteractive
-true
if quick fix supports interactive (UI) model,false
otherwise- 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
-