@Unstable public interface Privilege
Modifier and Type | Interface and Description |
---|---|
static class |
Privilege.Condition
The condition of this privilege.
|
static class |
Privilege.Name
The name of this privilege.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canBindTo(MetadataObject.Type type)
If the privilege can bind to a securable object, then this method will return true, otherwise
false.
|
Privilege.Condition |
condition() |
Privilege.Name |
name() |
java.lang.String |
simpleString() |
Privilege.Name name()
java.lang.String simpleString()
Privilege.Condition condition()
boolean canBindTo(MetadataObject.Type type)
type
- The securable object type.