Interface IBasicCheckExtension
- All Known Implementing Classes:
ModuleTopObjectNameFilterExtension,TopObjectFilterExtension
public interface IBasicCheckExtension
Generic extension of the
BasicCheck. Allows to contribute semi-ready pluggable solutions into the BasicCheck
descendants-
Method Summary
Modifier and TypeMethodDescriptiondefault voidconfigureContextCollector(ICheckDefinition definition) This method allows to add settings to theICheckDefinitionduring the check configuration cycledefault ITopObjectFilterContributes the top object model filter if necessarydefault booleanpreCheck(Object object, ICheckParameters parameters, org.eclipse.core.runtime.IProgressMonitor progressMonitor) This extension method is being executed prior the mainBasicCheck.check(Object, com.e1c.g5.v8.dt.check.components.BasicCheck.ResultAcceptor, ICheckParameters, IProgressMonitor)method
-
Method Details
-
configureContextCollector
This method allows to add settings to theICheckDefinitionduring the check configuration cycle- Parameters:
definition- The check definition. May not benull
-
contributeTopObjectFilter
Contributes the top object model filter if necessary- Returns:
- The filter to contribute. May be left
nullin case if the filter isn't necessary
-
preCheck
default boolean preCheck(Object object, ICheckParameters parameters, org.eclipse.core.runtime.IProgressMonitor progressMonitor) This extension method is being executed prior the mainBasicCheck.check(Object, com.e1c.g5.v8.dt.check.components.BasicCheck.ResultAcceptor, ICheckParameters, IProgressMonitor)method- Parameters:
object- The context object. May not benullparameters- The set of check parameters. May not benullprogressMonitor- The progress monitor to control check execution. May not benull- Returns:
- True in case if the check must be executed. False otherwise
-