com.splunk
Class ServiceArgs

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<java.lang.String,java.lang.Object>
              extended by com.splunk.Args
                  extended by com.splunk.ServiceArgs
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>

public class ServiceArgs
extends Args

The ServiceArgs class contains a collection of arguments that are used to initialize a Splunk Service instance.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
 java.lang.String app
          Deprecated. Use setApp(String) instead.
 java.lang.String host
          Deprecated. Use setHost(String) instead.
 java.lang.String owner
          Deprecated. Use setOwner(String) instead.
 java.lang.Integer port
          Deprecated. Use setPort(int) instead.
 java.lang.String scheme
          Deprecated. Use setScheme(String) instead.
 java.lang.String token
          Deprecated. Use setToken(String) instead.
 
Constructor Summary
ServiceArgs()
           
 
Method Summary
 void setApp(java.lang.String app)
           
 void setHost(java.lang.String host)
           
 void setHTTPSHandler(java.net.URLStreamHandler handler)
           
 void setOwner(java.lang.String owner)
           
 void setPassword(java.lang.String password)
           
 void setPort(int port)
           
 void setScheme(java.lang.String scheme)
           
 void setSSLSecurityProtocol(SSLSecurityProtocol securityProtocol)
           
 void setToken(java.lang.String token)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from class com.splunk.Args
add, create, create, create, encode, encode, encode, get
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Field Detail

app

public java.lang.String app
Deprecated. Use setApp(String) instead.
The application context of the service.


host

public java.lang.String host
Deprecated. Use setHost(String) instead.
The host name of the service.


owner

public java.lang.String owner
Deprecated. Use setOwner(String) instead.
The owner context of the service.


port

public java.lang.Integer port
Deprecated. Use setPort(int) instead.
The port number of the service.


scheme

public java.lang.String scheme
Deprecated. Use setScheme(String) instead.
The scheme to use for accessing the service.


token

public java.lang.String token
Deprecated. Use setToken(String) instead.
A Splunk authentication token to use for the session.

Constructor Detail

ServiceArgs

public ServiceArgs()
Method Detail

setApp

public void setApp(java.lang.String app)
Parameters:
app - The application context of the service.

setHost

public void setHost(java.lang.String host)
Parameters:
host - The host name of the service.

setHTTPSHandler

public void setHTTPSHandler(java.net.URLStreamHandler handler)
Parameters:
handler - A URLStreamHandler to handle HTTPS requests for the service.

setOwner

public void setOwner(java.lang.String owner)
Parameters:
owner - The owner context of the service.

setPassword

public void setPassword(java.lang.String password)
Parameters:
password - The password to use when logging in.

setPort

public void setPort(int port)
Parameters:
port - The port number of the service.

setScheme

public void setScheme(java.lang.String scheme)
Parameters:
scheme - The scheme to use for accessing the service.

setSSLSecurityProtocol

public void setSSLSecurityProtocol(SSLSecurityProtocol securityProtocol)
Parameters:
securityProtocol - The SSL security protocol for the service.

setToken

public void setToken(java.lang.String token)
Parameters:
token - A Splunk authentication token to use for the session.

setUsername

public void setUsername(java.lang.String username)
Parameters:
username - The username to use when logging in.