public static enum Todo.Compatibility extends Enum<Todo.Compatibility>
Todo
is backwards compatibleEnum Constant and Description |
---|
BREAK_MAJOR
Clients will need to be updated as well
|
BREAK_MINOR
Some internal classes are affected, clients should not notice the change
|
COMPATIBLE
The modification affects only a method or class, noone will notice the change
|
Modifier and Type | Method and Description |
---|---|
static Todo.Compatibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Todo.Compatibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Todo.Compatibility COMPATIBLE
public static final Todo.Compatibility BREAK_MINOR
public static final Todo.Compatibility BREAK_MAJOR
public static Todo.Compatibility[] values()
for (Todo.Compatibility c : Todo.Compatibility.values()) System.out.println(c);
public static Todo.Compatibility 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 null