Class SuccessfulRpcResult<T>

java.lang.Object
org.opendaylight.bgpcep.programming.spi.SuccessfulRpcResult<T>
All Implemented Interfaces:
org.opendaylight.yangtools.yang.common.RpcResult<T>

public final class SuccessfulRpcResult<T> extends Object implements org.opendaylight.yangtools.yang.common.RpcResult<T>
  • Method Details

    • create

      public static <T> SuccessfulRpcResult<T> create(T value)
    • isSuccessful

      public boolean isSuccessful()
      Specified by:
      isSuccessful in interface org.opendaylight.yangtools.yang.common.RpcResult<T>
    • getResult

      public T getResult()
      Specified by:
      getResult in interface org.opendaylight.yangtools.yang.common.RpcResult<T>
    • getErrors

      public List<org.opendaylight.yangtools.yang.common.RpcError> getErrors()
      Specified by:
      getErrors in interface org.opendaylight.yangtools.yang.common.RpcResult<T>