cz.cuni.amis.pogamut.base.utils
Enum PogamutProperty

Package class diagram package PogamutProperty
java.lang.Object
  extended by java.lang.Enum<PogamutProperty>
      extended by cz.cuni.amis.pogamut.base.utils.PogamutProperty
All Implemented Interfaces:
Serializable, Comparable<PogamutProperty>

public enum PogamutProperty
extends Enum<PogamutProperty>

The key is returned via toString() method.

Author:
Jimmy

Enum Constant Summary
POGAMUT_JMX_DOMAIN
          Domain used for MBeans registered from the Pogamut.
POGAMUT_JMX_SERVER_ADDRESS
          address where the JMX server will run this should be the global IP since other tools might want to use this address if blank than some IP will be choosen automatically.
POGAMUT_JMX_SERVER_RMI_PORT
          Port of the RMI registry.
POGAMUT_JMX_SUBDOMAIN
          Subdomain used for agent MBean registered from the Pogamut.
POGAMUT_LOGGER_LEVEL_DEFAULT
          Default logging level for the bot, set inside AgentLogger.AgentLogger(cz.cuni.amis.pogamut.base.agent.IAgentId) constructor.
POGAMUT_NETWORK_LOG_MANAGER_AND_CLIENT_LEVEL
          Changes the log level of the NetworkLogManager singleton and NetworkLogClient instances.
POGAMUT_SOCKETCONNECTION_ENCODING
          Which encoding to use when reading Strings, use things like windows-1250, utf8, etc... anything that Charset.forName() accepts at your platform 'default' is reserved for Charset.defaultCharset().
 
Method Summary
 String getKey()
           
 String toString()
           
static PogamutProperty valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PogamutProperty[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

POGAMUT_LOGGER_LEVEL_DEFAULT

public static final PogamutProperty POGAMUT_LOGGER_LEVEL_DEFAULT
Default logging level for the bot, set inside AgentLogger.AgentLogger(cz.cuni.amis.pogamut.base.agent.IAgentId) constructor.


POGAMUT_JMX_DOMAIN

public static final PogamutProperty POGAMUT_JMX_DOMAIN
Domain used for MBeans registered from the Pogamut.


POGAMUT_JMX_SUBDOMAIN

public static final PogamutProperty POGAMUT_JMX_SUBDOMAIN
Subdomain used for agent MBean registered from the Pogamut.


POGAMUT_JMX_SERVER_RMI_PORT

public static final PogamutProperty POGAMUT_JMX_SERVER_RMI_PORT
Port of the RMI registry.


POGAMUT_JMX_SERVER_ADDRESS

public static final PogamutProperty POGAMUT_JMX_SERVER_ADDRESS
address where the JMX server will run this should be the global IP since other tools might want to use this address if blank than some IP will be choosen automatically.


POGAMUT_NETWORK_LOG_MANAGER_AND_CLIENT_LEVEL

public static final PogamutProperty POGAMUT_NETWORK_LOG_MANAGER_AND_CLIENT_LEVEL
Changes the log level of the NetworkLogManager singleton and NetworkLogClient instances.


POGAMUT_SOCKETCONNECTION_ENCODING

public static final PogamutProperty POGAMUT_SOCKETCONNECTION_ENCODING
Which encoding to use when reading Strings, use things like windows-1250, utf8, etc... anything that Charset.forName() accepts at your platform 'default' is reserved for Charset.defaultCharset().

Used by SocketConnection for InputStreamReader.InputStreamReader(java.io.InputStream, java.nio.charset.Charset) and Writer.

Method Detail

values

public static PogamutProperty[] 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 (PogamutProperty c : PogamutProperty.values())
    System.out.println(c);

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

valueOf

public static PogamutProperty valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getKey

public String getKey()

toString

public String toString()
Overrides:
toString in class Enum<PogamutProperty>


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.