public interface ServerConfigurationManager
| Modifier and Type | Interface and Description |
|---|---|
static class |
ServerConfigurationManager.Policy
Specifies the policy for use of a capability.
|
| Modifier and Type | Method and Description |
|---|---|
ServerConfigurationManager.Policy |
getContentVersionRequests()
Returns whether the server requires, allows, or ignores document versionss
on document read, write, and delete requests.
|
String |
getDefaultDocumentReadTransform()
Returns the name of the default transform for reading documents.
|
Format |
getErrorFormat()
Returns the configured error format for the REST server instance.
|
Boolean |
getQueryOptionValidation()
Returns whether the server validates query options before storing them.
|
Boolean |
getQueryValidation()
Returns whether the server validates queries before running them.
|
Boolean |
getServerRequestLogging()
Returns whether the server logs requests to the error log on the server.
|
NamespacesManager |
newNamespacesManager()
Creates a manager for listing, reading, writing, and deleting
namespace bindings.
|
QueryOptionsManager |
newQueryOptionsManager()
Creates a manager for listing, reading, writing, and deleting query options.
|
ResourceExtensionsManager |
newResourceExtensionsManager()
Creates a manager for listing, reading, writing, and deleting
resource service extensions.
|
TransformExtensionsManager |
newTransformExtensionsManager()
Creates a manager for listing, reading, writing, and deleting
transform extensions.
|
void |
readConfiguration()
Reads the values of the properties from the server into this object.
|
void |
setContentVersionRequests(ServerConfigurationManager.Policy policy)
Specifies whether the server requires, allows, or ignores document versionss
on document read, write, and delete requests.
|
void |
setDefaultDocumentReadTransform(String name)
Specifies the name of the default transform for reading documents.
|
void |
setErrorFormat(Format errorFormat)
Sets the serialization format of MarkLogic errors.
|
void |
setQueryOptionValidation(Boolean on)
Specifies whether the server validates query options before storing them.
|
void |
setQueryValidation(Boolean on)
Specifies whether the server validates queries before running them.
|
void |
setServerRequestLogging(Boolean on)
Specifies whether the server logs requests to the error log on the server.
|
void |
writeConfiguration()
Writes the values of the properties of this object to the server.
|
void readConfiguration()
void writeConfiguration()
Boolean getQueryOptionValidation()
void setQueryOptionValidation(Boolean on)
set - to true to validate the query optionsBoolean getQueryValidation()
void setQueryValidation(Boolean on)
set - to true to validate queriesString getDefaultDocumentReadTransform()
void setDefaultDocumentReadTransform(String name)
name - the default transform nameBoolean getServerRequestLogging()
void setServerRequestLogging(Boolean on)
on - true to log requests on the serverServerConfigurationManager.Policy getContentVersionRequests()
void setContentVersionRequests(ServerConfigurationManager.Policy policy)
policy - required, optional, or none for document versionsQueryOptionsManager newQueryOptionsManager()
NamespacesManager newNamespacesManager()
ResourceExtensionsManager newResourceExtensionsManager()
TransformExtensionsManager newTransformExtensionsManager()
void setErrorFormat(Format errorFormat)
errorFormat - either Format.JSON or Format.XMLFormat getErrorFormat()
Copyright © 2013-2014 MarkLogic Corporation.