| Enum Constant and Description |
|---|
COLLABORATOR
The user is allowed to upload and download files, update specific files, and perform other
modifications to the share
|
MANAGER
The user can perform the same operations as a collaborator, but can also manage membership,
quota, and contact information regarding the team folder.
|
VIEWER
The user is allowed to download files and view activity, but cannot change anything within
the share
|
| Modifier and Type | Method and Description |
|---|---|
static ShareRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShareRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShareRole VIEWER
public static final ShareRole COLLABORATOR
public static final ShareRole MANAGER
public static ShareRole[] values()
for (ShareRole c : ShareRole.values()) System.out.println(c);
public static ShareRole valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null