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 void
configureContextCollector
(ICheckDefinition definition) This method allows to add settings to theICheckDefinition
during the check configuration cycledefault ITopObjectFilter
Contributes the top object model filter if necessarydefault 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
-
Method Details
-
configureContextCollector
This method allows to add settings to theICheckDefinition
during 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
null
in 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 benull
parameters
- The set of check parameters. May not benull
progressMonitor
- The progress monitor to control check execution. May not benull
- Returns:
- True in case if the check must be executed. False otherwise
-