| Package | Description | 
|---|---|
| org.opendaylight.yangtools.yang.common | 
| Modifier and Type | Method and Description | 
|---|---|
static <T> RpcResultBuilder<T> | 
RpcResultBuilder.failed()
Returns a builder for a failed result. 
 | 
static <T> RpcResultBuilder<T> | 
RpcResultBuilder.from(RpcResult<T> other)
Returns a builder from another RpcResult. 
 | 
static <T> RpcResultBuilder<T> | 
RpcResultBuilder.status(boolean success)
Returns a builder based on the given status. 
 | 
static <T> RpcResultBuilder<T> | 
RpcResultBuilder.success()
Returns a builder for a successful result. 
 | 
static <T> RpcResultBuilder<T> | 
RpcResultBuilder.success(Builder<T> builder)
Returns a builder for a successful result. 
 | 
static <T> RpcResultBuilder<T> | 
RpcResultBuilder.success(T result)
Returns a builder for a successful result. 
 | 
RpcResultBuilder<T> | 
RpcResultBuilder.withError(RpcError.ErrorType errorType,
         String message)
Adds an error to the result. 
 | 
RpcResultBuilder<T> | 
RpcResultBuilder.withError(RpcError.ErrorType errorType,
         String tag,
         String message)
Adds an error to the result. 
 | 
RpcResultBuilder<T> | 
RpcResultBuilder.withError(RpcError.ErrorType errorType,
         String tag,
         String message,
         String applicationTag,
         String info,
         Throwable cause)
Adds an error to the result. 
 | 
RpcResultBuilder<T> | 
RpcResultBuilder.withError(RpcError.ErrorType errorType,
         String message,
         Throwable cause)
Adds an error to the result. 
 | 
RpcResultBuilder<T> | 
RpcResultBuilder.withResult(Builder<T> builder)
Sets the value of the result. 
 | 
RpcResultBuilder<T> | 
RpcResultBuilder.withResult(T result)
Sets the value of the result. 
 | 
RpcResultBuilder<T> | 
RpcResultBuilder.withRpcError(RpcError error)
Adds an RpcError. 
 | 
RpcResultBuilder<T> | 
RpcResultBuilder.withRpcErrors(Collection<RpcError> errors)
Adds RpcErrors. 
 | 
RpcResultBuilder<T> | 
RpcResultBuilder.withWarning(RpcError.ErrorType errorType,
           String tag,
           String message)
Adds a warning to the result. 
 | 
RpcResultBuilder<T> | 
RpcResultBuilder.withWarning(RpcError.ErrorType errorType,
           String tag,
           String message,
           String applicationTag,
           String info,
           Throwable cause)
Adds a warning to the result. 
 | 
Copyright © 2018 OpenDaylight. All rights reserved.