public enum Impact extends Enum<Impact>
| Enum Constant and Description |
|---|
ACTION |
ACTION_INFO |
INFO |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Impact |
forCode(int code) |
int |
getCode() |
static Impact |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Impact[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Impact ACTION_INFO
public static Impact[] values()
for (Impact c : Impact.values()) System.out.println(c);
public static Impact 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 int getCode()
Copyright © 2004–2014 Paul Ferraro. All rights reserved.