Package com.e1c.g5.v8.dt.bsl.check.qfix
Class SingleVariantXtextBslModuleFix.FixConfigurer
java.lang.Object
com.e1c.g5.v8.dt.bsl.check.qfix.SingleVariantXtextBslModuleFix.FixConfigurer
- Enclosing class:
- SingleVariantXtextBslModuleFix
Configuration container for the
SingleVariantXtextBslModuleFixContext
descendants allowing them to
specify fix parameters via the pure Java API-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) Sets the static description for the fixdescription
(BiFunction<SingleVariantXtextBslModuleFixContext, IFixSession, Pair<String, String>> descriptionSupplier) Sets the dynamic description supplier for the fix.Sets the static details for the fixinteractive
(boolean isInteractive) Sets the modification model type - either interactive (UI) or not
-
Constructor Details
-
FixConfigurer
protected FixConfigurer()
-
-
Method Details
-
description
public SingleVariantXtextBslModuleFix.FixConfigurer description(BiFunction<SingleVariantXtextBslModuleFixContext, IFixSession, Pair<String, String>> descriptionSupplier) Sets the dynamic description supplier for the fix. The description may be formed using the data from theSingleVariantXtextBslModuleFixContext
- Parameters:
descriptionSupplier
- The supplier to set. May not benull
- Returns:
- the instance of the fix configurer, never
null
-
description
Sets the static description for the fix- Parameters:
description
- The description to set. May not benull
- Returns:
- the instance of the fix configurer, never
null
-
details
Sets the static details for the fix- Parameters:
description
- The description to set. May not benull
- Returns:
- the instance of the fix configurer, never
null
-
interactive
Sets the modification model type - either interactive (UI) or not- Parameters:
isInteractive
-true
if quick fix supports inbteractive (UI) model,false
otherwise- Returns:
- the instance of the fix configurer, never
null
-