public class DeploymentClient extends Entity
DeploymentClient
class represents a Splunk deployment client,
providing access to deployment client configuration and status.Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
actionPath(java.lang.String action)
Displays the action path.
|
void |
disable()
Not supported for this endpoint.
|
void |
enable()
Not supported for this endpoint.
|
java.lang.String[] |
getServerClasses()
Returns the list of server classes.
|
java.lang.String |
getTargetUri()
Returns the target URI of the deployment server for this deployment
client.
|
void |
reload()
Reloads the deployment client from the configuration file.
|
void |
setDisabled(boolean disabled)
Sets whether to enable or disable the deployment client.
|
void |
setTargetUri(java.lang.String targetUri)
Sets the deployment server's target URI for this deployment client.
|
clear, containsKey, containsValue, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
protected java.lang.String actionPath(java.lang.String action)
actionPath
in class Entity
action
- The requested action.public java.lang.String[] getServerClasses()
null
if not specified.public java.lang.String getTargetUri()
null
if not specified.public void reload()
public void setDisabled(boolean disabled)
Note: Using this method requires you to restart Splunk before this
setting takes effect. To avoid restarting Splunk, use the
Entity.disable
and Entity.enable
methods instead, which
take effect immediately.
disabled
- true
to disable the deployment client,
false
to enable it.Entity.disable()
,
Entity.enable()
public void setTargetUri(java.lang.String targetUri)
targetUri
- The target URI of the deployment server.