Enum CompatibilityWarner.PackageInfo
- java.lang.Object
-
- java.lang.Enum<CompatibilityWarner.PackageInfo>
-
- de.tracetronic.jenkins.plugins.ecutest.compat.CompatibilityWarner.PackageInfo
-
- All Implemented Interfaces:
Serializable
,Comparable<CompatibilityWarner.PackageInfo>
- Enclosing class:
- CompatibilityWarner
public static enum CompatibilityWarner.PackageInfo extends Enum<CompatibilityWarner.PackageInfo>
Enum to be used as variable for generic warning messages.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLogMessage()
Gets the log message.static CompatibilityWarner.PackageInfo
valueOf(String name)
Returns the enum constant of this type with the specified name.static CompatibilityWarner.PackageInfo[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARAM
public static final CompatibilityWarner.PackageInfo PARAM
Using string specific for parameter.
-
CONST
public static final CompatibilityWarner.PackageInfo CONST
Using string specific for constant.
-
-
Method Detail
-
values
public static CompatibilityWarner.PackageInfo[] 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 (CompatibilityWarner.PackageInfo c : CompatibilityWarner.PackageInfo.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompatibilityWarner.PackageInfo 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
-
getLogMessage
public String getLogMessage()
Gets the log message.- Returns:
- log message
-
-