public enum AuthorizableType extends Enum<AuthorizableType>
| Enum Constant and Description |
|---|
AUTHORIZABLE |
GROUP |
USER |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Authorizable> |
getAuthorizableClass() |
static @NotNull AuthorizableType |
getType(int jcrUserType) |
boolean |
isType(Authorizable authorizable) |
static AuthorizableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizableType USER
public static final AuthorizableType GROUP
public static final AuthorizableType AUTHORIZABLE
public static AuthorizableType[] values()
for (AuthorizableType c : AuthorizableType.values()) System.out.println(c);
public static AuthorizableType 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 null@NotNull public static @NotNull AuthorizableType getType(int jcrUserType)
public boolean isType(Authorizable authorizable)
public Class<? extends Authorizable> getAuthorizableClass()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.