Class Result


  • public class Result
    extends Object
    The result of a stream operation. A Result refers to a single document, but may contain more than one Result.Detail instances, as these pertains to a single endpoint, and a Result may wrap data for multiple endpoints.
    Author:
    Einar M R Rosenvinge
    • Method Detail

      • getDocumentId

        public String getDocumentId()
        Returns the document id that this result is for
      • getOperationId

        public String getOperationId()
        Returns the id of the operation this is the result of
      • getDocumentDataAsCharSequence

        public CharSequence getDocumentDataAsCharSequence()
        Returns the document data
      • getContext

        public Object getContext()
        Returns the context of the object if any
      • isSuccess

        public boolean isSuccess()
        Returns true if the operation(s) was successful. If at least one Result.Detail in getDetails() is unsuccessful, this will return false.
      • isSuccessOrConditionNotMet

        public boolean isSuccessOrConditionNotMet()
      • hasLocalTrace

        public boolean hasLocalTrace()
        Returns whether the operation has been set up with local tracing