@Beta @NonNullByDefault public final class DefaultDOMRpcResult extends Object implements DOMRpcResult, org.opendaylight.yangtools.concepts.Immutable, Serializable
DefaultDOMRpcResult
.Constructor and Description |
---|
DefaultDOMRpcResult(Collection<org.opendaylight.yangtools.yang.common.RpcError> errors) |
DefaultDOMRpcResult(@Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> result) |
DefaultDOMRpcResult(@Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> result,
Collection<? extends org.opendaylight.yangtools.yang.common.RpcError> errors) |
DefaultDOMRpcResult(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> result,
org.opendaylight.yangtools.yang.common.RpcError... errors) |
DefaultDOMRpcResult(org.opendaylight.yangtools.yang.common.RpcError... errors) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable Object obj) |
Collection<? extends org.opendaylight.yangtools.yang.common.RpcError> |
getErrors()
Returns a set of errors and warnings which occurred during processing
the call.
|
@Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> |
getResult()
Returns the value result of the call or null if no result is available.
|
int |
hashCode() |
public DefaultDOMRpcResult(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> result, org.opendaylight.yangtools.yang.common.RpcError... errors)
public DefaultDOMRpcResult(org.opendaylight.yangtools.yang.common.RpcError... errors)
public DefaultDOMRpcResult(@Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> result)
public DefaultDOMRpcResult(@Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> result, Collection<? extends org.opendaylight.yangtools.yang.common.RpcError> errors)
public DefaultDOMRpcResult(Collection<org.opendaylight.yangtools.yang.common.RpcError> errors)
public Collection<? extends org.opendaylight.yangtools.yang.common.RpcError> getErrors()
DOMRpcResult
getErrors
in interface DOMRpcResult
RpcError
, guaranteed to be non-null. In case
no errors are reported, an empty collection is returned.public @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> getResult()
DOMRpcResult
getResult
in interface DOMRpcResult
Copyright © 2019 OpenDaylight. All rights reserved.