org.purl.sword.base
Enum InfoLoggerLevel
java.lang.Object
java.lang.Enum<InfoLoggerLevel>
org.purl.sword.base.InfoLoggerLevel
- All Implemented Interfaces:
- Serializable, Comparable<InfoLoggerLevel>
public enum InfoLoggerLevel
- extends Enum<InfoLoggerLevel>
This enumeration determines the logging level to be used for the InfoLogger class.
- Author:
- Neil Taylor (nst@aber.ac.uk)
|
Method Summary |
static InfoLoggerLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static InfoLoggerLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
ERROR
public static final InfoLoggerLevel ERROR
ERROR_WARNING
public static final InfoLoggerLevel ERROR_WARNING
ERROR_WARNING_INFO
public static final InfoLoggerLevel ERROR_WARNING_INFO
values
public static final InfoLoggerLevel[] 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(InfoLoggerLevel c : InfoLoggerLevel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static InfoLoggerLevel 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
Copyright © 2008 The DSpace Foundation. All Rights Reserved.