Package com.e1c.g5.v8.dt.bsl.check.qfix
Class MultiVariantXtextBslModuleFix
- java.lang.Object
-
- com.e1c.g5.v8.dt.check.qfix.components.BasicFix<SingleVariantXtextBslModuleFixContext>
-
- com.e1c.g5.v8.dt.bsl.check.qfix.MultiVariantXtextBslModuleFix
-
- All Implemented Interfaces:
IFix<SingleVariantXtextBslModuleFixContext>
public abstract class MultiVariantXtextBslModuleFix extends BasicFix<SingleVariantXtextBslModuleFixContext> implements IFix<SingleVariantXtextBslModuleFixContext>
Multi-variant xtext module fix definition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
MultiVariantXtextBslModuleFix.VariantBuilder
Provides a builder of the quick fix variant
-
Constructor Summary
Constructors Constructor Description MultiVariantXtextBslModuleFix()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
buildVariants()
Creates and sets up fix variantsClass<SingleVariantXtextBslModuleFixContext>
getRequiredContextType()
Gets the required context typeCollection<IFixVariant<SingleVariantXtextBslModuleFixContext>>
getVariants(SingleVariantXtextBslModuleFixContext context, IFixSession session)
Gets declared variants for the given fix.void
onRegistration(FixDescriptor registrationContext)
This method is being called by the fix engine during the initialization phase.-
Methods inherited from class com.e1c.g5.v8.dt.check.qfix.components.BasicFix
getCheckId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.e1c.g5.v8.dt.check.qfix.IFix
getCheckId
-
-
-
-
Method Detail
-
getRequiredContextType
public Class<SingleVariantXtextBslModuleFixContext> getRequiredContextType()
Description copied from interface:IFix
Gets the required context type- Specified by:
getRequiredContextType
in interfaceIFix<SingleVariantXtextBslModuleFixContext>
- Returns:
- The type of the context that is required by the fix variant to work. May not be
null
-
getVariants
public Collection<IFixVariant<SingleVariantXtextBslModuleFixContext>> getVariants(SingleVariantXtextBslModuleFixContext context, IFixSession session)
Description copied from interface:IFix
Gets declared variants for the given fix. Variant applicability may be controlled using the provided context- Specified by:
getVariants
in interfaceIFix<SingleVariantXtextBslModuleFixContext>
- Returns:
- The collection of variants. May not be
null
-
onRegistration
public void onRegistration(FixDescriptor registrationContext)
Description copied from interface:IFix
This method is being called by the fix engine during the initialization phase. The developer may register additional fix entitier, like context factories, fix change processors, preview providers which are specific only to this fix- Specified by:
onRegistration
in interfaceIFix<SingleVariantXtextBslModuleFixContext>
- Parameters:
registrationContext
- The descriptor of the fix. A fix developer should use it to register fix specific components. May not benull
-
buildVariants
protected abstract void buildVariants()
Creates and sets up fix variants
-
-