public enum ScannerDetail extends Enum<ScannerDetail> implements Comparable<ScannerDetail>
Modifier and Type | Method and Description |
---|---|
int |
getLevelValue() |
boolean |
isGreaterEqualTo(ScannerDetail detail) |
static ScannerDetail |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerDetail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
compareTo
public static final ScannerDetail ALL
public static final ScannerDetail DETAILED
public static final ScannerDetail NORMAL
public static final ScannerDetail QUICK
public static ScannerDetail[] values()
for (ScannerDetail c : ScannerDetail.values()) System.out.println(c);
public static ScannerDetail 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 getLevelValue()
public boolean isGreaterEqualTo(ScannerDetail detail)
Copyright © 2020. All rights reserved.