public final class SuccessfulRpcResult<T> extends Object implements org.opendaylight.yangtools.yang.common.RpcResult<T>
Modifier and Type | Method and Description |
---|---|
static <T> SuccessfulRpcResult<T> |
create(T value) |
Collection<org.opendaylight.yangtools.yang.common.RpcError> |
getErrors() |
T |
getResult() |
boolean |
isSuccessful() |
public static <T> SuccessfulRpcResult<T> create(T value)
public boolean isSuccessful()
isSuccessful
in interface org.opendaylight.yangtools.yang.common.RpcResult<T>
public T getResult()
getResult
in interface org.opendaylight.yangtools.yang.common.RpcResult<T>
public Collection<org.opendaylight.yangtools.yang.common.RpcError> getErrors()
getErrors
in interface org.opendaylight.yangtools.yang.common.RpcResult<T>
Copyright © 2019 OpenDaylight. All rights reserved.