public enum FilterRequirement extends Enum<FilterRequirement>
| Modifier and Type | Field and Description |
|---|---|
boolean |
required |
| Modifier and Type | Method and Description |
|---|---|
boolean |
value() |
static FilterRequirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterRequirement REQUIRED
public static final FilterRequirement OPTIONAL
public static FilterRequirement[] values()
for (FilterRequirement c : FilterRequirement.values()) System.out.println(c);
public static FilterRequirement 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 value()
Copyright © 2016 Twilio, Inc. All Rights Reserved.