public enum CollabRoleEnum extends Enum<CollabRoleEnum>
| Enum Constant and Description |
|---|
COOWNER |
EDITOR |
PREVIEWER |
PREVIEWER_UPLOADER |
UPLOADER |
VIEWER |
VIEWER_UPLOADER |
| Modifier and Type | Method and Description |
|---|---|
String |
getRole() |
static CollabRoleEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollabRoleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollabRoleEnum EDITOR
public static final CollabRoleEnum VIEWER
public static final CollabRoleEnum PREVIEWER
public static final CollabRoleEnum UPLOADER
public static final CollabRoleEnum PREVIEWER_UPLOADER
public static final CollabRoleEnum COOWNER
public static final CollabRoleEnum VIEWER_UPLOADER
public static CollabRoleEnum[] values()
for (CollabRoleEnum c : CollabRoleEnum.values()) System.out.println(c);
public static CollabRoleEnum 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 getRole()
Copyright © 2018 YiFangYun. All rights reserved.