public enum TypeRange extends Enum<TypeRange>
system plugins.| Enum Constant and Description |
|---|
BASE |
BOOT |
REPLICATION |
TIMER |
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_RESERVED_TYPE |
static int |
MIN_RESERVED_TYPE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInRange(int type) |
static TypeRange |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeRange BASE
public static final TypeRange TIMER
public static final TypeRange BOOT
public static final TypeRange REPLICATION
public static final int MAX_RESERVED_TYPE
public static final int MIN_RESERVED_TYPE
public static TypeRange[] values()
for (TypeRange c : TypeRange.values()) System.out.println(c);
public static TypeRange 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 boolean isInRange(int type)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.