public enum BlockReason extends Enum<BlockReason>
Created by shikloshi on 05/07/2016.
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static BlockReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockReason NONE
public static final BlockReason SERVER
public static final BlockReason COOKIE
public static final BlockReason CHALLENGE
public static BlockReason[] values()
for (BlockReason c : BlockReason.values()) System.out.println(c);
public static BlockReason 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 getValue()
Copyright © 2018 PerimeterX. All rights reserved.