Package org.opendaylight.mdsal.dom.api
Interface DOMRpcResult
-
- All Known Implementing Classes:
DefaultDOMRpcResult
,ForwardingDOMRpcResult
@NonNullByDefault public interface DOMRpcResult
Interface defining a result of an RPC call.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<? extends RpcError>
getErrors()
Returns a set of errors and warnings which occurred during processing the call.@Nullable NormalizedNode<?,?>
getResult()
Returns the value result of the call or null if no result is available.
-
-
-
Method Detail
-
getErrors
Collection<? extends RpcError> getErrors()
Returns a set of errors and warnings which occurred during processing the call.- Returns:
- a Collection of
RpcError
, guaranteed to be non-null. In case no errors are reported, an empty collection is returned.
-
getResult
@Nullable NormalizedNode<?,?> getResult()
Returns the value result of the call or null if no result is available.- Returns:
- Invocation result, null if the operation has not produced a result. This might be the case if the operation does not produce a result, or if it failed.
-
-