|
||||||||||
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.DeploymentServerClass
public class DeploymentServerClass
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> |
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. |
void |
setBlacklistByIndex(int index,
java.lang.String blacklist)
Sets a specific blacklist entry. |
void |
setContinueMatching(boolean matching)
Sets how this deployment server class controls its configurations across classes and server-specific settings. |
void |
setEndPoint(java.lang.String endPoint)
Sets a URL template string that specifies the endpoint from which content can be downloaded by a deployment client. |
void |
setFilterType(java.lang.String filterType)
Sets the order to apply filters: "whitelist" applies the whitelist filters first, followed by blacklist filters. "blacklist" applies the blacklist filters first, followed by whitelist filters. |
void |
setRepositoryLocation(java.lang.String location)
Sets the location on the deployment server to store the content that is to be deployed for this server class. |
void |
setWhitelistByIndex(int index,
java.lang.String whitelist)
Sets a specific whitelist entry. |
Methods inherited from class com.splunk.Entity |
---|
clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, 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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Method Detail |
---|
public java.lang.String getBlacklist()
null
if not
specified.public java.lang.String getBlacklistByIndex(int index)
index
- The index of the blacklist entry to return. The only valid
index is 0.
null
if not
specified.public boolean getContinueMatching()
true
if configuration look-ups continue matching server
classes, beyond the first match. false
if only the first match
is used.public java.lang.String getEndpoint()
null
if not specified.public java.lang.String getFilterType()
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.
public java.lang.String getRepositoryLocation()
Note: The path may contain macro expansions or substitutions.
public java.lang.String getTargetRepositoryLocation()
Note: The path may contain macro expansions or substitutions.
public java.lang.String getTmpFolder()
Note: The path may contain macro expansions or substitutions.
null
if not specified.public java.lang.String getWhitelist()
null
if not
specified.public java.lang.String getWhitelistByIndex(int index)
index
- The index of the whitelist entry to return. Valid indexes
are 0 and 1.
null
if not
specified.public void setBlacklistByIndex(int index, java.lang.String blacklist)
index
- The index of the blacklist entry to set.blacklist
- The blacklist entry.public void setContinueMatching(boolean matching)
true
,
configuration look-ups continue matching server classes after the first
match. If set to false
, only the first match is used. Matching
is done in the order that server classes are defined.
matching
- true
to continue matching, false
to use
the first match.public void setEndPoint(java.lang.String endPoint)
endPoint
- The endpoint URL.public void setFilterType(java.lang.String filterType)
filterType
- The filter type to apply first.public void setRepositoryLocation(java.lang.String location)
location
- The location (path) for storing content.public void setWhitelistByIndex(int index, java.lang.String whitelist)
index
- The index of the whitelist entry to set.whitelist
- The whitelist entry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |