com.splunk
Class DeploymentServerClass

java.lang.Object
  extended by com.splunk.Resource
      extended by com.splunk.Entity
          extended by com.splunk.DeploymentServerClass
All Implemented Interfaces:
java.util.Map<java.lang.String,java.lang.Object>

public class DeploymentServerClass
extends Entity

The DeploymentServerClass class represents a Splunk deployment server class, providing access to the configuration of a server class.


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.Resource
actions, path, service, title
 
Method Summary
 java.lang.String getBlackList()
          Returns a list of the hosts that are excluded from this server class.
 java.lang.String getBlackListByIndex(int index)
          Returns a list of excluded client addresses, by index.
 boolean getContinueMatching()
          Indicates whether look-ups halt on the first server match or continue to match against multiple servers.
 java.lang.String getEndpoint()
          Returns the URL template string, which specifies the endpoint from which content can be downloaded by a deployment client.
 java.lang.String getFilterType()
          Returns the filter type that is applied first.
 java.lang.String getRepositoryLocation()
          Returns the location on the deployment server to store the content that is to be deployed for this server class.
 java.lang.String getTargetRepositoryLocation()
          Returns the location on the deployment client where the content to be deployed for this server class should be installed.
 java.lang.String getTmpFolder()
          Returns the location of the working folder used by the deployment server.
 java.lang.String getWhiteList()
          Returns a list of hosts included for this server class.
 java.lang.String getWhiteListByIndex(int index)
          Returns a list of included client addresses, by index.
 
Methods inherited from class com.splunk.Entity
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, keySet, put, putAll, refresh, reload, remove, remove, size, 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

getBlackList

public java.lang.String getBlackList()
Returns a list of the hosts that are excluded from this server class.

Returns:
A comma-separated list of excluded hosts, or null if not specified.

getBlackListByIndex

public java.lang.String getBlackListByIndex(int index)
Returns a list of excluded client addresses, by index.

Returns:
A list of excluded client addresses, or null if not specified.

getContinueMatching

public boolean getContinueMatching()
Indicates whether look-ups halt on the first server match or continue to match against multiple servers. Matching is done in the order that server classes are defined.

Returns:
true if configuration look-ups continue matching server classes, beyond the first match. false if only the first match is used.

getEndpoint

public java.lang.String getEndpoint()
Returns the URL template string, which specifies the endpoint from which content can be downloaded by a deployment client.

Returns:
The URL template string for deployment client downloads, or null if not specified.

getFilterType

public java.lang.String getFilterType()
Returns the filter type that is applied first. If filterType is whitelist, all whitelist filters are applied first, followed by blacklist filters. If filterType is blacklist, all blacklist filters are applied first, followed by whitelist filters.

Returns:
The filter type.

getRepositoryLocation

public java.lang.String getRepositoryLocation()
Returns the location on the deployment server to store the content that is to be deployed for this server class. Note: The path may contain macro expansions or substitutions.

Returns:
The file path for content storage on the deployment server.

getTargetRepositoryLocation

public java.lang.String getTargetRepositoryLocation()
Returns the location on the deployment client where the content to be deployed for this server class should be installed. Note: The path may contain macro expansions or substitutions.

Returns:
The file path for content storage on the deployment client.

getTmpFolder

public java.lang.String getTmpFolder()
Returns the location of the working folder used by the deployment server. Note: The path may contain macro expansions or substitutions.

Returns:
The path to the deployment server's working folder, or null if not specified.

getWhiteList

public java.lang.String getWhiteList()
Returns a list of hosts included for this server class.

Returns:
A comma-separated list of included hosts, or null if not specified.

getWhiteListByIndex

public java.lang.String getWhiteListByIndex(int index)
Returns a list of included client addresses, by index.

Returns:
A list of included client addresses, or null if not specified.