public enum AntSeverity extends Enum<AntSeverity>
| Modifier and Type | Method and Description |
|---|---|
static AntSeverity |
fromName(String name) |
static AntSeverity |
fromName(String name,
AntSeverity defaultLevel) |
Prompt.Type |
getLevel() |
String |
getName() |
static AntSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AntSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntSeverity ERROR
public static final AntSeverity WARNING
public static final AntSeverity INFO
public static AntSeverity[] values()
for (AntSeverity c : AntSeverity.values()) System.out.println(c);
public static AntSeverity 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 Prompt.Type getLevel()
public static AntSeverity fromName(String name)
public static AntSeverity fromName(String name, AntSeverity defaultLevel)
Copyright © 2001–2025. All rights reserved.