| Package | Description |
|---|---|
| com.orbitz.consul.model.kv |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableTxError
Immutable implementation of
TxError. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<TxError> |
ImmutableTxResponse.errors() |
abstract List<TxError> |
TxResponse.errors() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableTxResponse.Builder |
ImmutableTxResponse.Builder.addErrors(TxError... elements)
Adds elements to
errors list. |
ImmutableTxResponse.Builder |
ImmutableTxResponse.Builder.addErrors(TxError element)
Adds one element to
errors list. |
static ImmutableTxError |
ImmutableTxError.copyOf(TxError instance)
Creates an immutable copy of a
TxError value. |
ImmutableTxError.Builder |
ImmutableTxError.Builder.from(TxError instance)
Fill a builder with attribute values from the provided
TxError instance. |
ImmutableTxResponse |
ImmutableTxResponse.withErrors(TxError... elements)
Copy the current immutable object with elements that replace the content of
errors. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableTxResponse.Builder |
ImmutableTxResponse.Builder.addAllErrors(Iterable<? extends TxError> elements)
Adds elements to
errors list. |
ImmutableTxResponse.Builder |
ImmutableTxResponse.Builder.errors(Iterable<? extends TxError> elements)
Sets or replaces all elements for
errors list. |
ImmutableTxResponse |
ImmutableTxResponse.withErrors(Iterable<? extends TxError> elements)
Copy the current immutable object with elements that replace the content of
errors. |
Copyright © 2019. All rights reserved.