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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetVariants(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 contextMethods inherited from class com.e1c.g5.v8.dt.check.qfix.components.BasicFix
getCheckIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.e1c.g5.v8.dt.check.qfix.IFix
getCheckId, getRequiredContextType, onRegistrationMethods inherited from interface com.e1c.g5.v8.dt.check.qfix.IFixVariant
describeChanges, prepareChanges
-
Constructor Details
-
SingleVariantBasicFix
public SingleVariantBasicFix()
-
-
Method Details
-
getVariants
Description copied from interface:IFixGets declared variants for the given fix. Variant applicability may be controlled using the provided context- Specified by:
getVariantsin interfaceIFix<C extends BasicFixContext>- Returns:
- The collection of variants. May not be
null
-
isFixApplicable
Checks if the fix is applicable for the given context- Parameters:
context- The context to check. May not benullsession- The fix session. May not benull- Returns:
- True if the context is applicable. False otherwise
-