Module org.junit.platform.engine
Class IterationSelector
java.lang.Object
org.junit.platform.engine.discovery.IterationSelector
- All Implemented Interfaces:
 DiscoverySelector
@API(status=MAINTAINED,
     since="1.13.3")
public class IterationSelector
extends Object
implements DiscoverySelector
A 
DiscoverySelector that selects the iterations of a parent
 DiscoverySelector via their indices so that
 TestEngines can discover
 a subset of the iterations of tests or containers.- Since:
 - 1.9
 - See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class - 
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the selected iteration indices.Get the selected parentDiscoverySelector.inthashCode()Return the identifier of this selector.toString() 
- 
Method Details
- 
getParentSelector
Get the selected parentDiscoverySelector. - 
getIterationIndices
Get the selected iteration indices. - 
equals
 - 
hashCode
public int hashCode() - 
toString
 - 
toIdentifier
Description copied from interface:DiscoverySelectorReturn the identifier of this selector.The returned identifier must be parsable by a corresponding
DiscoverySelectorIdentifierParser.The default implementation returns
Optional.empty(). Can be overridden by concrete implementations.- Specified by:
 toIdentifierin interfaceDiscoverySelector- Returns:
 - an 
Optionalcontaining the identifier of this selector; nevernullbut potentially empty if the selector does not support identifiers 
 
 -