public static enum ShareType.UsageContextType extends Enum<ShareType.UsageContextType>
SharePermission
of this type can give specified ShareRight
Enum Constant and Description |
---|
VIEW
When Present user can give view
ShareRight with SharePermission of this type |
VIEW_EDIT
When Present user can give view_edit
ShareRight with SharePermission of this type |
Modifier and Type | Method and Description |
---|---|
static ShareType.UsageContextType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShareType.UsageContextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShareType.UsageContextType VIEW
ShareRight
with SharePermission
of this typepublic static final ShareType.UsageContextType VIEW_EDIT
ShareRight
with SharePermission
of this typepublic static ShareType.UsageContextType[] values()
for (ShareType.UsageContextType c : ShareType.UsageContextType.values()) System.out.println(c);
public static ShareType.UsageContextType 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 nullCopyright © 2002-2019 Atlassian. All Rights Reserved.