Constructor and Description |
---|
OneByOneRule() |
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, wait
getParametersUIDefinition, postCheck
public final FilterParameter getDefaultFilterParameter()
public final ComponentFilter getDefaultFilter()
public PreCheckResult preCheck()
public final PreCheckResult preCheck(ComponentSelector components)
Rule
ComponentSelector
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 Rule
components
- the CheckingSelection
to mark components as checkedpublic final void check(CheckingSelection components, ResultFactory resultFactory)
Rule
CheckingSelection
instance received as parameter, during the check phase.check
in interface Rule
components
- 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 © 2019 Solibri, Inc.. All rights reserved.