DiscoverySelectorIdentifier with a specific prefix.
Implementations of this interface can be registered using the Java service
loader mechanism to extend the set of supported prefixes for
DiscoverySelectorIdentifiers.
DiscoverySelectors#parse(String)
| Modifier and Type | Class and Description |
|---|---|
| public static interface | DiscoverySelectorIdentifierParser.
Context for parsing |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the prefix that this parser supports; nevernull or blankGet the prefix that this parser supports. |
| public Optional | parse(DiscoverySelectorIdentifier
the identifier, DiscoverySelectorIdentifierParser.DiscoverySelectorIdentifier to parsethe contextContext to use for parsingParse the supplied |
| getPrefix | back to summary |
|---|---|
| public String getPrefix() Get the prefix that this parser supports.
| |
| parse | back to summary |
|---|---|
| public Optional Parse the supplied The JUnit Platform will only invoke this method if the supplied
| |
DiscoverySelectorIdentifiers.
| Modifier and Type | Method and Description |
|---|---|
| public Optional |
| parse | back to summary |
|---|---|
| public Optional Parse the supplied selector. This method is intended to be used by implementations of
| |