public enum ContentPermissionType extends Enum<ContentPermissionType>
SpacePermission
,
GlobalPermission
,
ContentPermission
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
String |
lowerValue() |
static ContentPermissionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentPermissionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentPermissionType VIEW
public static final ContentPermissionType EDIT
public static final ContentPermissionType SHARED
public static ContentPermissionType[] values()
for (ContentPermissionType c : ContentPermissionType.values()) System.out.println(c);
public static ContentPermissionType 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 getValue()
public String lowerValue()
Copyright © 2003–2017 Atlassian. All rights reserved.