|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 |
---|
content, toUpdate |
Fields inherited from class com.splunk.Resource |
---|
actions, path, refreshArgs, service, title |
Method Summary | |
---|---|
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. |
Methods inherited from class com.splunk.Entity |
---|
clear, containsKey, containsValue, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values |
Methods inherited from class com.splunk.Resource |
---|
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()
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |