public enum AntLogLevel extends Enum<AntLogLevel>
| Modifier and Type | Method and Description |
|---|---|
static AntLogLevel |
fromName(String name) |
static AntLogLevel |
fromName(String name,
AntLogLevel defaultLevel) |
int |
getLevel() |
String |
getName() |
static AntLogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AntLogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntLogLevel ERROR
public static final AntLogLevel WARNING
public static final AntLogLevel INFO
public static final AntLogLevel VERBOSE
public static final AntLogLevel DEBUG
public static AntLogLevel[] values()
for (AntLogLevel c : AntLogLevel.values()) System.out.println(c);
public static AntLogLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
public int getLevel()
public static AntLogLevel fromName(String name)
public static AntLogLevel fromName(String name, AntLogLevel defaultLevel)
Copyright © 2001–2025. All rights reserved.