Package com.e1c.g5.v8.dt.check.qfix
Interface IFixVariant<C extends IFixContext>
- All Known Implementing Classes:
BinaryDataStorageLocationUseFieldTypeFix,ConfigurationStandaloneContentFix,DataSetFieldPresentationCreateFix,DbObjectTabularSectionFix,ReferenceValueFix,ReferenceValueFixNonCritical,SingleVariantBasicFix,SingleVariantModelBasicFix,SingleVariantXtextBslModuleFix,XdtoPackageExtensionPackageNamespaceFeaturesStateFix
public interface IFixVariant<C extends IFixContext>
A single variant of a multi-variant fix. Contains variant-specific fixing logic as well as unique description
of the variant
-
Method Summary
Modifier and TypeMethodDescriptiondescribeChanges(C context, IFixSession session) Gets the quick fix variant descriptordefault booleanShows whether the variant provides changes in exclusive operationprepareChanges(C context, IFixSession session) Prepares the changes to form the fix
-
Method Details
-
describeChanges
Gets the quick fix variant descriptor- Parameters:
context- the context, cannot benullsession- the session, cannot benull- Returns:
- fix variant descriptor, never
null
-
prepareChanges
Prepares the changes to form the fix- Parameters:
context- The fix context. May not benull- Returns:
- The collection of prepared fix changes (if applicable). Never
null. May be empty
-
isExclusiveOperation
default boolean isExclusiveOperation()Shows whether the variant provides changes in exclusive operation- Returns:
- true if the variant provides changes in exclusive operation, false otherwise
-