@Beta 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(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> result)  | 
DefaultDOMRpcResult(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> result,
                   Collection<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(Object obj)  | 
Collection<org.opendaylight.yangtools.yang.common.RpcError> | 
getErrors()
Returns a set of errors and warnings which occurred during processing
 the call. 
 | 
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(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> result)
public DefaultDOMRpcResult(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> result,
                           @Nonnull
                           Collection<org.opendaylight.yangtools.yang.common.RpcError> errors)
public DefaultDOMRpcResult(@Nonnull Collection<org.opendaylight.yangtools.yang.common.RpcError> errors)
@Nonnull public Collection<org.opendaylight.yangtools.yang.common.RpcError> getErrors()
DOMRpcResultgetErrors in interface DOMRpcResultRpcError, guaranteed to be non-null. In case
         no errors are reported, an empty collection is returned.public org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> getResult()
DOMRpcResultgetResult in interface DOMRpcResultCopyright © 2018 OpenDaylight. All rights reserved.