Class DefaultDOMRpcResult

    • Method Detail

      • getErrors

        public Collection<? extends RpcError> getErrors()
        Description copied from interface: DOMRpcResult
        Returns a set of errors and warnings which occurred during processing the call.
        Specified by:
        getErrors in interface DOMRpcResult
        Returns:
        a Collection of RpcError, guaranteed to be non-null. In case no errors are reported, an empty collection is returned.
      • getResult

        public @Nullable NormalizedNode getResult()
        Description copied from interface: DOMRpcResult
        Returns the value result of the call or null if no result is available.
        Specified by:
        getResult in interface DOMRpcResult
        Returns:
        Invocation result, null if the operation has not produced a result. This might be the case if the operation does not produce a result, or if it failed.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(@Nullable Object obj)
        Overrides:
        equals in class Object