org.ow2.jasmine.rules.threadump
Enum ThreadDumpEnum

java.lang.Object
  extended by java.lang.Enum<ThreadDumpEnum>
      extended by org.ow2.jasmine.rules.threadump.ThreadDumpEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ThreadDumpEnum>

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

Author:
eyindanga

Enum Constant Summary
CONFIG_FILE
          If the output is a file.
CONFIG_FILE_DEFAULTNAME
          If the output is a file.
DEF_WORKING_MEMORY
          Path of the output file.
JONAS_BASE
          If the output is a file.
MEMORY_THRESHOLD
          Memory treshold property.
MEMORY_THRESHOLD_UNIT
          Memory treshold unit.
MEMORY_THRESHOLD_UNIT_B
          Bytes Memory treshold unit.
MEMORY_THRESHOLD_UNIT_GB
          Giga Bytes Memory treshold unit.
MEMORY_THRESHOLD_UNIT_KB
          Kilo Bytes Memory treshold unit.
MEMORY_THRESHOLD_UNIT_MB
          Mega Bytes Memory treshold unit.
MEMORY_THRESHOLD_UNIT_TB
          Tera Bytes Memory treshold unit.
OUTPUT_FILE_PATH
          Path of the output file.
OUTPUT_TYPE
          Prefix of output types.
OUTPUT_TYPE_FILE_VALUE
          If the output is a file.
OUTPUT_TYPE_TTY_VALUE
          If the output is a tty.
REPEAT
          Dump the thread repeat times.
TARGET_JMXURLS
          Target JMX urls.
THREAD_DUMP_PREFIX
          Prefix of thread dump properties.
WORKING_MEMORY
          Path of the output file.
 
Method Summary
 java.lang.String getValue()
           
 void setValue(java.lang.String value)
           
static ThreadDumpEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ThreadDumpEnum[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

THREAD_DUMP_PREFIX

public static final ThreadDumpEnum THREAD_DUMP_PREFIX
Prefix of thread dump properties.


CONFIG_FILE

public static final ThreadDumpEnum CONFIG_FILE
If the output is a file.


JONAS_BASE

public static final ThreadDumpEnum JONAS_BASE
If the output is a file.


CONFIG_FILE_DEFAULTNAME

public static final ThreadDumpEnum CONFIG_FILE_DEFAULTNAME
If the output is a file.


OUTPUT_TYPE_FILE_VALUE

public static final ThreadDumpEnum OUTPUT_TYPE_FILE_VALUE
If the output is a file.


OUTPUT_TYPE_TTY_VALUE

public static final ThreadDumpEnum OUTPUT_TYPE_TTY_VALUE
If the output is a tty.


OUTPUT_TYPE

public static final ThreadDumpEnum OUTPUT_TYPE
Prefix of output types.


MEMORY_THRESHOLD

public static final ThreadDumpEnum MEMORY_THRESHOLD
Memory treshold property.


MEMORY_THRESHOLD_UNIT

public static final ThreadDumpEnum MEMORY_THRESHOLD_UNIT
Memory treshold unit.


MEMORY_THRESHOLD_UNIT_KB

public static final ThreadDumpEnum MEMORY_THRESHOLD_UNIT_KB
Kilo Bytes Memory treshold unit.


MEMORY_THRESHOLD_UNIT_B

public static final ThreadDumpEnum MEMORY_THRESHOLD_UNIT_B
Bytes Memory treshold unit.


MEMORY_THRESHOLD_UNIT_MB

public static final ThreadDumpEnum MEMORY_THRESHOLD_UNIT_MB
Mega Bytes Memory treshold unit.


MEMORY_THRESHOLD_UNIT_GB

public static final ThreadDumpEnum MEMORY_THRESHOLD_UNIT_GB
Giga Bytes Memory treshold unit.


MEMORY_THRESHOLD_UNIT_TB

public static final ThreadDumpEnum MEMORY_THRESHOLD_UNIT_TB
Tera Bytes Memory treshold unit.


TARGET_JMXURLS

public static final ThreadDumpEnum TARGET_JMXURLS
Target JMX urls.


OUTPUT_FILE_PATH

public static final ThreadDumpEnum OUTPUT_FILE_PATH
Path of the output file.


WORKING_MEMORY

public static final ThreadDumpEnum WORKING_MEMORY
Path of the output file.


DEF_WORKING_MEMORY

public static final ThreadDumpEnum DEF_WORKING_MEMORY
Path of the output file.


REPEAT

public static final ThreadDumpEnum REPEAT
Dump the thread repeat times.

Method Detail

values

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

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

valueOf

public static ThreadDumpEnum 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

setValue

public void setValue(java.lang.String value)
Parameters:
value - the value to set

getValue

public java.lang.String getValue()
Returns:
the value


Copyright © 2009 OW2 Consortium. All Rights Reserved.