public final class ImmutablePrivilegeDefinition extends Object implements PrivilegeDefinition
PrivilegeDefinition interface.| Constructor and Description |
|---|
ImmutablePrivilegeDefinition(String name,
boolean isAbstract,
Iterable<String> declaredAggregateNames) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
@NotNull Set<String> |
getDeclaredAggregateNames()
Returns the internal names of the declared aggregated privileges or
an empty array if the privilege defined by this definition isn't
an aggregate.
|
@NotNull String |
getName()
The internal name of this privilege.
|
int |
hashCode() |
boolean |
isAbstract()
Returns
true if the privilege described by this definition
is abstract. |
String |
toString() |
@NotNull public @NotNull String getName()
PrivilegeDefinitiongetName in interface PrivilegeDefinitionpublic boolean isAbstract()
PrivilegeDefinitiontrue if the privilege described by this definition
is abstract.isAbstract in interface PrivilegeDefinitiontrue if the resulting privilege is abstract;
false otherwise.@NotNull public @NotNull Set<String> getDeclaredAggregateNames()
PrivilegeDefinitiongetDeclaredAggregateNames in interface PrivilegeDefinitionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.