public enum ViewPermissionType extends Enum<ViewPermissionType>
| Enum Constant and Description |
|---|
ONLY_PULL |
PUSH_AND_PULL |
| Modifier and Type | Method and Description |
|---|---|
static ViewPermissionType |
getTypeByString(String type) |
int |
getVal() |
static ViewPermissionType |
lookup(int val) |
static ViewPermissionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewPermissionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewPermissionType ONLY_PULL
public static final ViewPermissionType PUSH_AND_PULL
public static ViewPermissionType[] values()
for (ViewPermissionType c : ViewPermissionType.values()) System.out.println(c);
public static ViewPermissionType 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 int getVal()
public static ViewPermissionType lookup(int val)
public static ViewPermissionType getTypeByString(String type)
Copyright © 2023. All rights reserved.