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