public static enum Report.Classification extends Enum<Report.Classification>
Enum Constant and Description |
---|
BORDERLINE |
MOSTLY_SAFE |
SAFE |
UNSAFE |
VERY_UNSAFE |
Modifier and Type | Method and Description |
---|---|
static Report.Classification |
fromString(String text) |
static Report.Classification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Report.Classification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Report.Classification SAFE
public static final Report.Classification MOSTLY_SAFE
public static final Report.Classification BORDERLINE
public static final Report.Classification UNSAFE
public static final Report.Classification VERY_UNSAFE
public static Report.Classification[] values()
for (Report.Classification c : Report.Classification.values()) System.out.println(c);
public static Report.Classification 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 static Report.Classification fromString(String text)
Copyright © 2016–2019. All rights reserved.