public abstract class ConcurrentRule extends Object implements Rule
| Constructor and Description |
|---|
ConcurrentRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
check(CheckingSelection components,
ResultFactory resultFactory)
Called to implement the check phase.
|
abstract Collection<Result> |
check(Component component,
ResultFactory resultFactory)
Called once for each component to be checked.
|
ComponentFilter |
getDefaultFilter()
Returns the default filter for this rule.
|
FilterParameter |
getDefaultFilterParameter()
Returns the default filter parameter for this rule.
|
PreCheckResult |
preCheck()
This is called once before the checking of components.
|
PreCheckResult |
preCheck(ComponentSelector components)
This method is called once before the actual checking of the components.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParametersUIDefinition, postCheckpublic final FilterParameter getDefaultFilterParameter()
public final ComponentFilter getDefaultFilter()
public PreCheckResult preCheck()
public final PreCheckResult preCheck(ComponentSelector components)
RuleComponentSelector parameter. Additionally, a PreCheckResult must be returned, reporting if the checking of this rule should continue to the next phase (with
PreCheckResult.createRelevant()) or skipped (with PreCheckResult.createIrrelevant()). In both
cases, a message can be added to document the result.preCheck in interface Rulecomponents - the CheckingSelection to mark components as checkedpublic final void check(CheckingSelection components, ResultFactory resultFactory)
RuleCheckingSelection instance received as parameter, during the check phase.check in interface Rulecomponents - the CheckingSelection to mark components as checkedresultFactory - the result factory used to create results for this rulepublic abstract Collection<Result> check(Component component, ResultFactory resultFactory)
component - the component to checkresultFactory - the result factory used to create results for this
ruleCopyright © 2020 Solibri, Inc.. All rights reserved.