DiscoverySelector with a specific prefix.
The string representation of an identifier is
intended to be human-readable and is formatted as prefix:value.
org.junit.platform.engine.discovery.DiscoverySelectors#parse(String) , org.junit.platform.engine.discovery.DiscoverySelectorIdentifierParser
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static DiscoverySelectorIdentifier | |
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public String | |
| public int | |
| public static DiscoverySelectorIdentifier | Returns: the parsedDiscoverySelectorIdentifierthe string representation of a string)DiscoverySelectorIdentifierParse the supplied string representation of a
|
| public String | toString()
Overrides java. Get the string representation of this identifier in the format
|
| prefix | back to summary |
|---|---|
| private final String prefix | |
| value | back to summary |
|---|---|
| private final String value | |
| DiscoverySelectorIdentifier | back to summary |
|---|---|
| private DiscoverySelectorIdentifier(String prefix, String value) | |
| create | back to summary |
|---|---|
| public static DiscoverySelectorIdentifier create(String prefix, String value) Create a new | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getPrefix | back to summary |
|---|---|
| public String getPrefix() Get the prefix of this identifier.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Get the value of this identifier.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| parse | back to summary |
|---|---|
| public static DiscoverySelectorIdentifier parse(String string) Parse the supplied string representation of a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Get the string representation of this identifier in the format
| |