|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.splunk.Resource
com.splunk.Entity
com.splunk.DeploymentClient
public class DeploymentClient
The DeploymentClient
class represents a Splunk deployment client,
providing access to deployment client configuration and status.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class com.splunk.Entity |
---|
toUpdate |
Fields inherited from class com.splunk.Resource |
---|
actions, partialPath, path, refreshArgs, service, title |
Method Summary | |
---|---|
protected java.lang.String |
actionPath(java.lang.String action)
Displays the action path. |
void |
disable()
Disables the entity that is named by this endpoint. |
void |
enable()
Enables the entity that is named by 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. |
Methods inherited from class com.splunk.Entity |
---|
clear, containsKey, containsValue, entrySet, get, getMetadata, isDisabled, isEmpty, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values |
Methods inherited from class com.splunk.Resource |
---|
getActions, getName, getPath, getService, getTitle, invalidate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Method Detail |
---|
protected java.lang.String actionPath(java.lang.String action)
actionPath
in class Entity
action
- The requested action.
public void disable()
disable
in class Entity
public void enable()
enable
in class Entity
public java.lang.String[] getServerClasses()
null
if not specified.public java.lang.String getTargetUri()
null
if not specified.public void reload()
reload
in class Entity
public void setDisabled(boolean disabled)
Note: You must restart Splunk for this setting to take effect.
However, to avoid restarting Splunk, you can 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.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |