public static enum Policy.PolicyTypeEnum extends Enum<Policy.PolicyTypeEnum>
| Modifier and Type | Method and Description |
|---|---|
static Policy.PolicyTypeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Policy.PolicyTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Policy.PolicyTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Policy.PolicyTypeEnum BLOCK
public static final Policy.PolicyTypeEnum ALLOW
public static Policy.PolicyTypeEnum[] values()
for (Policy.PolicyTypeEnum c : Policy.PolicyTypeEnum.values()) System.out.println(c);
public static Policy.PolicyTypeEnum 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()
public String toString()
toString in class Enum<Policy.PolicyTypeEnum>public static Policy.PolicyTypeEnum fromValue(String text)
Copyright © 2018 Symphony Software Foundation. All rights reserved.