Class DocumentOpVisitorResponse


  • public class DocumentOpVisitorResponse
    extends VisitorResponse
    Visitor response containing a document operation. All visitor responses have ack tokens that must be acked.
    Author:
    Arne H Juul
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentOpVisitorResponse​(com.yahoo.document.DocumentOperation op, AckToken ack)
      Creates visitor response containing a document operation and an ack token.
    • Constructor Detail

      • DocumentOpVisitorResponse

        public DocumentOpVisitorResponse​(com.yahoo.document.DocumentOperation op,
                                         AckToken ack)
        Creates visitor response containing a document operation and an ack token.
        Parameters:
        op - the document operation
        ack - the ack token
    • Method Detail

      • getDocumentOperation

        public com.yahoo.document.DocumentOperation getDocumentOperation()
        Returns:
        the document operation