public static enum AccountService.AccountSocialAction extends Enum<AccountService.AccountSocialAction>
Modifier and Type | Method and Description |
---|---|
static AccountService.AccountSocialAction |
getAction(String action) |
static AccountService.AccountSocialAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountService.AccountSocialAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountService.AccountSocialAction ADD
public static final AccountService.AccountSocialAction REMOVE
public static AccountService.AccountSocialAction[] values()
for (AccountService.AccountSocialAction c : AccountService.AccountSocialAction.values()) System.out.println(c);
public static AccountService.AccountSocialAction 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 static AccountService.AccountSocialAction getAction(String action)
Copyright © 2016 JBoss by Red Hat. All rights reserved.