Package com.soebes.maven.plugins.echo
Enum EchoMojo.LogLevels
- java.lang.Object
-
- java.lang.Enum<EchoMojo.LogLevels>
-
- com.soebes.maven.plugins.echo.EchoMojo.LogLevels
-
- All Implemented Interfaces:
Serializable
,Comparable<EchoMojo.LogLevels>
- Enclosing class:
- EchoMojo
public static enum EchoMojo.LogLevels extends Enum<EchoMojo.LogLevels>
The different levels which exist to printout the echos.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EchoMojo.LogLevels
valueOf(String name)
Returns the enum constant of this type with the specified name.static EchoMojo.LogLevels[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFO
public static final EchoMojo.LogLevels INFO
-
WARNING
public static final EchoMojo.LogLevels WARNING
-
ERROR
public static final EchoMojo.LogLevels ERROR
-
DEBUG
public static final EchoMojo.LogLevels DEBUG
-
-
Method Detail
-
values
public static EchoMojo.LogLevels[] 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 (EchoMojo.LogLevels c : EchoMojo.LogLevels.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EchoMojo.LogLevels 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 nameNullPointerException
- if the argument is null
-
-