Package com.yahoo.documentapi
Class DocumentAccessParams
- java.lang.Object
-
- com.yahoo.documentapi.DocumentAccessParams
-
- Direct Known Subclasses:
MessageBusParams
public class DocumentAccessParams extends java.lang.Object
Superclass of the classes which contains the parameters for creating or opening a document access.- Author:
- Simon Thoresen Hult
-
-
Constructor Summary
Constructors Constructor Description DocumentAccessParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.yahoo.document.config.DocumentmanagerConfig>
documentmanagerConfig()
Returns the document manager config to use, or empty if it it necessary to subscribe to get itjava.lang.String
getDocumentManagerConfigId()
Returns the config id that the document manager should subscribe to.DocumentAccessParams
setDocumentmanagerConfig(com.yahoo.document.config.DocumentmanagerConfig documentmanagerConfig)
DocumentAccessParams
setDocumentManagerConfigId(java.lang.String configId)
Sets the config id that the document manager should subscribe to.
-
-
-
Method Detail
-
getDocumentManagerConfigId
public java.lang.String getDocumentManagerConfigId()
Returns the config id that the document manager should subscribe to.
-
documentmanagerConfig
public java.util.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(java.lang.String configId)
Sets the config id that the document manager should subscribe to.
-
setDocumentmanagerConfig
public DocumentAccessParams setDocumentmanagerConfig(com.yahoo.document.config.DocumentmanagerConfig documentmanagerConfig)
-
-