Package com.atlassian.confluence.it
Enum GlobalPermission
- java.lang.Object
-
- java.lang.Enum<GlobalPermission>
-
- com.atlassian.confluence.it.GlobalPermission
-
- All Implemented Interfaces:
Permission
,Serializable
,Comparable<GlobalPermission>
@Deprecated public enum GlobalPermission extends Enum<GlobalPermission> implements Permission
Deprecated.Please use confluence-test-utils module instead. SeeGlobalPermission
alternative
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACH_TO_PROFILE
Deprecated.usePROFILE_ATTACHMENTS
instead, which is the exact same thingBROWSE_USERS
Deprecated.This only applies to Anonymous and Unlicensed users.CAN_USE
Deprecated.CAN_VIEW_USER_PROFILES
Deprecated.useBROWSE_USERS
instead, which is the exact same thingCONFLUENCE_ADMIN
Deprecated.CREATE_SPACE
Deprecated.LIMITED_CAN_USE
Deprecated.PERSONAL_SPACE
Deprecated.PROFILE_ATTACHMENTS
Deprecated.SYSTEM_ADMIN
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getLowerValue()
Deprecated.String
getValue()
Deprecated.static GlobalPermission
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static GlobalPermission[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CAN_USE
public static final GlobalPermission CAN_USE
Deprecated.
-
LIMITED_CAN_USE
public static final GlobalPermission LIMITED_CAN_USE
Deprecated.
-
ATTACH_TO_PROFILE
@Deprecated public static final GlobalPermission ATTACH_TO_PROFILE
Deprecated.usePROFILE_ATTACHMENTS
instead, which is the exact same thing
-
BROWSE_USERS
public static final GlobalPermission BROWSE_USERS
Deprecated.This only applies to Anonymous and Unlicensed users.
-
CAN_VIEW_USER_PROFILES
@Deprecated public static final GlobalPermission CAN_VIEW_USER_PROFILES
Deprecated.useBROWSE_USERS
instead, which is the exact same thing
-
CONFLUENCE_ADMIN
public static final GlobalPermission CONFLUENCE_ADMIN
Deprecated.
-
SYSTEM_ADMIN
public static final GlobalPermission SYSTEM_ADMIN
Deprecated.
-
CREATE_SPACE
public static final GlobalPermission CREATE_SPACE
Deprecated.
-
PERSONAL_SPACE
public static final GlobalPermission PERSONAL_SPACE
Deprecated.
-
PROFILE_ATTACHMENTS
public static final GlobalPermission PROFILE_ATTACHMENTS
Deprecated.
-
-
Method Detail
-
values
public static GlobalPermission[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GlobalPermission c : GlobalPermission.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalPermission valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
Deprecated.- Specified by:
getValue
in interfacePermission
-
getLowerValue
public String getLowerValue()
Deprecated.- Specified by:
getLowerValue
in interfacePermission
- Returns:
- the value converted to lower-case
-
-