com.jrockit.mc.flightrecorder
Enum RecordingPrinter.Verbosity

java.lang.Object
  extended by java.lang.Enum<RecordingPrinter.Verbosity>
      extended by com.jrockit.mc.flightrecorder.RecordingPrinter.Verbosity
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RecordingPrinter.Verbosity>
Enclosing class:
RecordingPrinter

public static enum RecordingPrinter.Verbosity
extends java.lang.Enum<RecordingPrinter.Verbosity>

Verbosity level to use when printing events.

Author:
Erik Gahlin

Enum Constant Summary
HIGH
          Writes maximum amount of information
LOW
          Only write one line per event
MEDIUM
          Write event and event vales, but not detailed information
 
Method Summary
static RecordingPrinter.Verbosity valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RecordingPrinter.Verbosity[] 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

HIGH

public static final RecordingPrinter.Verbosity HIGH
Writes maximum amount of information


MEDIUM

public static final RecordingPrinter.Verbosity MEDIUM
Write event and event vales, but not detailed information


LOW

public static final RecordingPrinter.Verbosity LOW
Only write one line per event

Method Detail

values

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

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

valueOf

public static RecordingPrinter.Verbosity 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


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.