public static enum ProjectACL.LockLevel extends Enum<ProjectACL.LockLevel>
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(ProjectACL.LockLevel requestedLevel) |
boolean |
isAcceptedBy(ProjectACL.LockLevel allowedLevel) |
static boolean |
resolveLocking(ProjectACL.LockLevel requestedLevel,
ProjectACL.LockLevel allowedLevel) |
static ProjectACL.LockLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectACL.LockLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectACL.LockLevel W
public static final ProjectACL.LockLevel R
public static final ProjectACL.LockLevel NO
public static ProjectACL.LockLevel[] values()
for (ProjectACL.LockLevel c : ProjectACL.LockLevel.values()) System.out.println(c);
public static ProjectACL.LockLevel 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 resolveLocking(ProjectACL.LockLevel requestedLevel, ProjectACL.LockLevel allowedLevel)
public boolean accepts(ProjectACL.LockLevel requestedLevel)
public boolean isAcceptedBy(ProjectACL.LockLevel allowedLevel)
Copyright © 2023 ART Group, University of Rome, Tor Vergata. All rights reserved.