Package com.solibri.smc.api.checking
Interface ComponentSelector
public interface ComponentSelector
Allows to retrieve components like
CheckingSelection
, but in addition allows to select components for
checking. Selecting components for checking is possible only during the pre check phase. An IllegalStateException
is thrown if an attempt is made to select a component after the pre check phase.- Since:
- 9.10.2
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if there is at least one component selected for checking by this selector.select(ComponentFilter filter)
Select for checking the components that satisfy the specified filter.
-
Method Details
-
select
Select for checking the components that satisfy the specified filter. Components that are selected for checking must be all marked at least once as checked through theCheckingSelection.pass(Component)
method. If the selected components are not all marked as checked by the end of the checking, anIllegalStateException
will be thrown.- Parameters:
filter
- the filter used to find the components to be selected- Returns:
- the selected components
- Since:
- 9.10.2
-
hasSelectedComponents
boolean hasSelectedComponents()Returns true if there is at least one component selected for checking by this selector.- Returns:
- true if at least one component was selected for checking
- Since:
- 9.10.2
-