cz.cuni.pogamut.server.requests
Enum ConfigurationParameter

java.lang.Object
  extended by java.lang.Enum<ConfigurationParameter>
      extended by cz.cuni.pogamut.server.requests.ConfigurationParameter
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConfigurationParameter>

public enum ConfigurationParameter
extends java.lang.Enum<ConfigurationParameter>

Configuration parameters that can be set.


Enum Constant Summary
AUTO_RECONNECT
          Used for telling the server to actively reconnect if down.
PING_CONNECTION
          Used for telling the server to actively ping the connection.
URI
          Request for changing the control connection URI (server) value: URI
 
Field Summary
private  java.lang.Class validParameterClass
           
 
Method Summary
 java.lang.Class getValidParameterClass()
           
static ConfigurationParameter valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConfigurationParameter[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AUTO_RECONNECT

public static final ConfigurationParameter AUTO_RECONNECT
Used for telling the server to actively reconnect if down. value: Boolean


PING_CONNECTION

public static final ConfigurationParameter PING_CONNECTION
Used for telling the server to actively ping the connection. value: Boolean


URI

public static final ConfigurationParameter URI
Request for changing the control connection URI (server) value: URI

Field Detail

validParameterClass

private java.lang.Class validParameterClass
Method Detail

values

public static ConfigurationParameter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ConfigurationParameter c : ConfigurationParameter.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ConfigurationParameter valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValidParameterClass

public java.lang.Class getValidParameterClass()