public final class RestRpcResult extends Object implements org.opendaylight.yangtools.yang.common.RpcResult
| Constructor and Description |
|---|
RestRpcResult(boolean succeeded,
Object result) |
RestRpcResult(boolean succeeded,
Object result,
Collection<org.opendaylight.yangtools.yang.common.RpcError> errors) |
| Modifier and Type | Method and Description |
|---|---|
Collection<org.opendaylight.yangtools.yang.common.RpcError> |
getErrors() |
Object |
getResult() |
boolean |
isSucceeded() |
boolean |
isSuccessful() |
public RestRpcResult(boolean succeeded,
Object result,
Collection<org.opendaylight.yangtools.yang.common.RpcError> errors)
public RestRpcResult(boolean succeeded,
Object result)
public boolean isSuccessful()
isSuccessful in interface org.opendaylight.yangtools.yang.common.RpcResultpublic Object getResult()
getResult in interface org.opendaylight.yangtools.yang.common.RpcResultpublic Collection<org.opendaylight.yangtools.yang.common.RpcError> getErrors()
getErrors in interface org.opendaylight.yangtools.yang.common.RpcResultpublic boolean isSucceeded()
Copyright © 2015. All rights reserved.