Serializable, Comparable<ProcessesType>public enum ProcessesType extends Enum<ProcessesType>
| Enum Constant | Description |
|---|---|
ALLOW_IP |
|
BLOCK_IP |
|
UNBLOCK_IP |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getType() |
|
static ProcessesType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ProcessesType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessesType BLOCK_IP
public static final ProcessesType UNBLOCK_IP
public static final ProcessesType ALLOW_IP
public static ProcessesType[] values()
for (ProcessesType c : ProcessesType.values()) System.out.println(c);
public static ProcessesType 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 String getType()
Copyright © 2020. All rights reserved.