Package com.solibri.smc.api.checking
Interface ComponentSelector
-
public interface ComponentSelector
Allows to retrieve components likeCheckingSelection
, but in addition allows to select components for checking. Selecting components for checking is possible only during the pre check phase. AnIllegalStateException
is thrown if an attempt is made to select a component after the pre check phase.- Since:
- 9.10.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasSelectedComponents()
Returns true if there is at least one component selected for checking by this selector.Set<Component>
select(ComponentFilter filter)
Select for checking the components that satisfy the specified filter.
-
-
-
Method Detail
-
select
Set<Component> select(ComponentFilter filter)
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
-
-