public enum WorkspaceAccess extends Enum<WorkspaceAccess>
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasCommentPermissions(WorkspaceAccess workspaceAccess) |
static boolean |
hasReadPermissions(WorkspaceAccess workspaceAccess) |
static boolean |
hasWritePermissions(WorkspaceAccess workspaceAccess) |
static WorkspaceAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkspaceAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkspaceAccess NONE
public static final WorkspaceAccess READ
public static final WorkspaceAccess WRITE
public static final WorkspaceAccess COMMENT
public static WorkspaceAccess[] values()
for (WorkspaceAccess c : WorkspaceAccess.values()) System.out.println(c);
public static WorkspaceAccess 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 static boolean hasReadPermissions(WorkspaceAccess workspaceAccess)
public static boolean hasCommentPermissions(WorkspaceAccess workspaceAccess)
public static boolean hasWritePermissions(WorkspaceAccess workspaceAccess)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.