public enum UserStatusEnum extends Enum<UserStatusEnum>
Modifier and Type | Method and Description |
---|---|
static fj.data.Either<UserStatusEnum,MethodActivationStatusEnum> |
findByName(String name) |
static UserStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserStatusEnum ACTIVE
public static final UserStatusEnum INACTIVE
public static UserStatusEnum[] values()
for (UserStatusEnum c : UserStatusEnum.values()) System.out.println(c);
public static UserStatusEnum 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 fj.data.Either<UserStatusEnum,MethodActivationStatusEnum> findByName(String name)
Copyright © 2017. All rights reserved.