Class DocumentAccessParams

java.lang.Object
com.yahoo.documentapi.DocumentAccessParams
Direct Known Subclasses:
MessageBusParams

public class DocumentAccessParams extends Object
Superclass of the classes which contains the parameters for creating or opening a document access.
Author:
Simon Thoresen Hult
  • Constructor Details

    • DocumentAccessParams

      public DocumentAccessParams()
  • Method Details

    • getDocumentManagerConfigId

      public String getDocumentManagerConfigId()
      Returns the config id that the document manager should subscribe to.
    • documentmanagerConfig

      public Optional<com.yahoo.document.config.DocumentmanagerConfig> documentmanagerConfig()
      Returns the document manager config to use, or empty if it it necessary to subscribe to get it
    • setDocumentManagerConfigId

      public DocumentAccessParams setDocumentManagerConfigId(String configId)
      Sets the config id that the document manager should subscribe to.
    • setDocumentmanagerConfig

      public DocumentAccessParams setDocumentmanagerConfig(com.yahoo.document.config.DocumentmanagerConfig documentmanagerConfig)