Class MultiVariantModelBasicFix
- java.lang.Object
- 
- com.e1c.g5.v8.dt.check.qfix.components.BasicFix<BasicModelFixContext>
- 
- com.e1c.g5.v8.dt.check.qfix.components.MultiVariantModelBasicFix
 
 
- 
- All Implemented Interfaces:
- IFix<BasicModelFixContext>
 
 public abstract class MultiVariantModelBasicFix extends BasicFix<BasicModelFixContext> implements IFix<BasicModelFixContext> Multi-variant model fix definition
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected static classMultiVariantModelBasicFix.VariantBuilderProvides a builder of the quick fix variant
 - 
Constructor SummaryConstructors Constructor Description MultiVariantModelBasicFix()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidbuildVariants()Creates and sets up fix variantsprotected voidconfigureFix(SingleVariantModelBasicFix.FixConfigurer configurer)Sets up the quick fixClass<BasicModelFixContext>getRequiredContextType()Gets the required context typeCollection<IFixVariant<BasicModelFixContext>>getVariants(BasicModelFixContext context, IFixSession session)Gets declared variants for the given fix.voidonRegistration(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.BasicFixgetCheckId
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.e1c.g5.v8.dt.check.qfix.IFixgetCheckId
 
- 
 
- 
- 
- 
Method Detail- 
getRequiredContextTypepublic Class<BasicModelFixContext> getRequiredContextType() Description copied from interface:IFixGets the required context type- Specified by:
- getRequiredContextTypein interface- IFix<BasicModelFixContext>
- Returns:
- The type of the context that is required by the fix variant to work. May not be null
 
 - 
getVariantspublic Collection<IFixVariant<BasicModelFixContext>> getVariants(BasicModelFixContext context, IFixSession session) Description copied from interface:IFixGets declared variants for the given fix. Variant applicability may be controlled using the provided context- Specified by:
- getVariantsin interface- IFix<BasicModelFixContext>
- Returns:
- The collection of variants. May not be null
 
 - 
onRegistrationpublic void onRegistration(FixDescriptor registrationContext) Description copied from interface:IFixThis 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:
- onRegistrationin interface- IFix<BasicModelFixContext>
- Parameters:
- registrationContext- The descriptor of the fix. A fix developer should use it to register fix specific components. May not be- null
 
 - 
buildVariantsprotected abstract void buildVariants() Creates and sets up fix variants
 - 
configureFixprotected void configureFix(SingleVariantModelBasicFix.FixConfigurer configurer) Sets up the quick fix- Parameters:
- configurer- the fix configurer, cannot be- null
 
 
- 
 
-