Class SingleVariantBasicFix<C extends BasicFixContext>
- java.lang.Object
- 
- com.e1c.g5.v8.dt.check.qfix.components.BasicFix<C>
- 
- com.e1c.g5.v8.dt.check.qfix.components.SingleVariantBasicFix<C>
 
 
- 
- All Implemented Interfaces:
- IFix<C>,- IFixVariant<C>
 - Direct Known Subclasses:
- SingleVariantModelBasicFix,- SingleVariantXtextBslModuleFix
 
 public abstract class SingleVariantBasicFix<C extends BasicFixContext> extends BasicFix<C> implements IFix<C>, IFixVariant<C> Testing sample of API L2 that checks the capability to create the all-in-one fix with a single variant
- 
- 
Constructor SummaryConstructors Constructor Description SingleVariantBasicFix()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<IFixVariant<C>>getVariants(C context, IFixSession session)Gets declared variants for the given fix.protected booleanisFixApplicable(C context, IFixSession session)Checks if the fix is applicable for the given context- 
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, getRequiredContextType, onRegistration
 - 
Methods inherited from interface com.e1c.g5.v8.dt.check.qfix.IFixVariantdescribeChanges, prepareChanges
 
- 
 
- 
- 
- 
Method Detail- 
getVariantspublic Collection<IFixVariant<C>> getVariants(C 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<C extends BasicFixContext>
- Returns:
- The collection of variants. May not be null
 
 - 
isFixApplicableprotected boolean isFixApplicable(C context, IFixSession session) Checks if the fix is applicable for the given context- Parameters:
- context- The context to check. May not be- null
- session- The fix session. May not be- null
- Returns:
- True if the context is applicable. False otherwise
 
 
- 
 
-