public static enum Infection.TYPE extends java.lang.Enum<Infection.TYPE>
Enum Constant and Description |
---|
CONTAINER_VIOLATION |
POLICY_VIOLATION |
VIRUS |
Modifier and Type | Method and Description |
---|---|
static Infection.TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Infection.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Infection.TYPE VIRUS
public static final Infection.TYPE POLICY_VIOLATION
public static final Infection.TYPE CONTAINER_VIOLATION
public static Infection.TYPE[] values()
for (Infection.TYPE c : Infection.TYPE.values()) System.out.println(c);
public static Infection.TYPE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null