Package org.opendaylight.mdsal.dom.api
Interface DOMActionResult
-
- All Known Implementing Classes:
SimpleDOMActionResult
@Beta @NonNullByDefault public interface DOMActionResult
Interface defining a result of an operation invocation.- Author:
- Robert Varga
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<RpcError>
getErrors()
Returns a set of errors and warnings which occurred during processing the call.Optional<ContainerNode>
getOutput()
Returns the value result of the call.
-
-
-
Method Detail
-
getErrors
Collection<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.
-
getOutput
Optional<ContainerNode> getOutput()
Returns the value result of the call.- Returns:
- Invocation result,.empty 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.
-
-