Package com.solibri.smc.api.checking
Interface CheckingSelection
public interface CheckingSelection
Allows components that have been previously selected using 
ComponentSelector to be retrieved and marked as
 checked. Every component selected for checking must be marked as checked by the end of the Rule.check(CheckingSelection, ResultFactory) method execution. Can be used during pre check and check phases.- Since:
- 9.10.2
- 
Method SummaryModifier and TypeMethodDescriptionvoidMark a component as checked and register a failure described by the specifiedResult.voidMark the model checked and register a failure described by the specifiedResult.voidfail(Collection<? extends Component> components, Result result) Mark the specified components as checked and register a failure described by the specifiedResult.Get the components that have been selected for checking but are still not checked.booleanisEmpty()Returns true if this selection is empty.voidMark a component as checked, without creating any failure.voidpass(Collection<? extends Component> components) Mark the specified components as checked, without creating any failure.voidMark all the still unchecked components as checked, without creating any additional failure.
- 
Method Details- 
passMark a component as checked, without creating any failure.- Parameters:
- component- the checked component
- Since:
- 9.10.2
 
- 
passMark the specified components as checked, without creating any failure.- Parameters:
- components- the checked components
- Since:
- 9.10.2
 
- 
failMark a component as checked and register a failure described by the specifiedResult.- Parameters:
- component- the checked component
- result- the result that causes the component to fail
- Since:
- 9.10.2
 
- 
failMark the model checked and register a failure described by the specifiedResult.- Parameters:
- model- the model
- result- the result that causes the model to fail
- Since:
- 25.3.0
 
- 
failMark the specified components as checked and register a failure described by the specifiedResult.- Parameters:
- components- the checked components
- result- the result that causes the components to fail
- Since:
- 9.10.2
 
- 
passRemainingvoid passRemaining()Mark all the still unchecked components as checked, without creating any additional failure.- Since:
- 9.10.2
 
- 
isEmptyboolean isEmpty()Returns true if this selection is empty.- Returns:
- true if this selection is empty
- Since:
- 9.10.2
 
- 
getRemainingGet the components that have been selected for checking but are still not checked.- Returns:
- the components that have been selected for checking but are still not checked
- Since:
- 9.10.2
 
 
-