org.ow2.jonas.antmodular.jonasbase.wrapper
Enum LogfileRollmode
java.lang.Object
java.lang.Enum<LogfileRollmode>
org.ow2.jonas.antmodular.jonasbase.wrapper.LogfileRollmode
- All Implemented Interfaces:
- Serializable, Comparable<LogfileRollmode>
public enum LogfileRollmode
- extends Enum<LogfileRollmode>
Log file rollmode
- Author:
- Jeremy Cazaux
|
Method Summary |
static LogfileRollmode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LogfileRollmode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
JVM
public static final LogfileRollmode JVM
DATE
public static final LogfileRollmode DATE
values
public static LogfileRollmode[] 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 (LogfileRollmode c : LogfileRollmode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LogfileRollmode 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
Copyright © 2012 OW2 Consortium. All Rights Reserved.