SelectorResolutionResult encapsulates the result of resolving a
DiscoverySelector by a TestEngine.
A SelectorResolutionResult consists of a mandatory
Status and an optional Throwable.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | SelectorResolutionResult.
Status of resolving a |
| Modifier and Type | Field and Description |
|---|---|
| private static final SelectorResolutionResult | |
| private final SelectorResolutionResult. | |
| private final @Nullable Throwable | |
| private static final SelectorResolutionResult |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SelectorResolutionResult | |
| public SelectorResolutionResult. | |
| public Optional | Returns: anOptional containing the throwable; never null
but potentially emptyGet the throwable that caused this result, if available. |
| public static SelectorResolutionResult | Returns: theSelectorResolutionResult; never nullCreate a |
| public String | |
| public static SelectorResolutionResult | Returns: theSelectorResolutionResult; never nullCreate a |
| RESOLVED_RESULT | back to summary |
|---|---|
| private static final SelectorResolutionResult RESOLVED_RESULT | |
| status | back to summary |
|---|---|
| private final SelectorResolutionResult. | |
| throwable | back to summary |
|---|---|
| private final @Nullable Throwable throwable | |
| UNRESOLVED_RESULT | back to summary |
|---|---|
| private static final SelectorResolutionResult UNRESOLVED_RESULT | |
| SelectorResolutionResult | back to summary |
|---|---|
| private SelectorResolutionResult(SelectorResolutionResult. | |
| failed | back to summary |
|---|---|
| public static SelectorResolutionResult failed(Throwable throwable) Create a
| |
| getStatus | back to summary |
|---|---|
| public SelectorResolutionResult. Get the status of this result.
| |
| getThrowable | back to summary |
|---|---|
| public Optional Get the throwable that caused this result, if available. | |
| resolved | back to summary |
|---|---|
| public static SelectorResolutionResult resolved() Create a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| unresolved | back to summary |
|---|---|
| public static SelectorResolutionResult unresolved() Create a
| |
DiscoverySelector.
| Modifier and Type | Field and Description |
|---|---|
| public static final SelectorResolutionResult. | FAILED
Indicates that the |
| public static final SelectorResolutionResult. | RESOLVED
Indicates that the |
| public static final SelectorResolutionResult. | UNRESOLVED
Indicates that the |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SelectorResolutionResult. | |
| public static SelectorResolutionResult. |
| FAILED | back to summary |
|---|---|
| public static final SelectorResolutionResult. Indicates that the | |
| RESOLVED | back to summary |
|---|---|
| public static final SelectorResolutionResult. Indicates that the | |
| UNRESOLVED | back to summary |
|---|---|
| public static final SelectorResolutionResult. Indicates that the | |
| Status | back to summary |
|---|---|
| private Status() | |
| valueOf | back to summary |
|---|---|
| public static SelectorResolutionResult. | |
| values | back to summary |
|---|---|
| public static SelectorResolutionResult. | |