@Beta @NonNullByDefault @ThreadSafe public final class SimpleDOMActionResult extends Object implements DOMActionResult, org.opendaylight.yangtools.concepts.Immutable
Constructor and Description |
---|
SimpleDOMActionResult(Collection<org.opendaylight.yangtools.yang.common.RpcError> errors) |
SimpleDOMActionResult(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode output,
Collection<org.opendaylight.yangtools.yang.common.RpcError> errors) |
Modifier and Type | Method and Description |
---|---|
Collection<org.opendaylight.yangtools.yang.common.RpcError> |
getErrors()
Returns a set of errors and warnings which occurred during processing the call.
|
Optional<org.opendaylight.yangtools.yang.data.api.schema.ContainerNode> |
getOutput()
Returns the value result of the call.
|
String |
toString() |
public SimpleDOMActionResult(Collection<org.opendaylight.yangtools.yang.common.RpcError> errors)
public SimpleDOMActionResult(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode output, Collection<org.opendaylight.yangtools.yang.common.RpcError> errors)
public Collection<org.opendaylight.yangtools.yang.common.RpcError> getErrors()
DOMActionResult
getErrors
in interface DOMActionResult
RpcError
, guaranteed to be non-null. In case no errors are reported, an empty
collection is returned.public Optional<org.opendaylight.yangtools.yang.data.api.schema.ContainerNode> getOutput()
DOMActionResult
getOutput
in interface DOMActionResult
Copyright © 2019 OpenDaylight. All rights reserved.