Modifier and Type | Class and Description |
---|---|
static class |
PrivilegeDTO.Builder
Builder for
PrivilegeDTO . |
Privilege.Condition, Privilege.Name
Modifier | Constructor and Description |
---|---|
protected |
PrivilegeDTO()
Default constructor for Jackson deserialization.
|
protected |
PrivilegeDTO(Privilege.Name name,
Privilege.Condition condition)
Creates a new instance of PrivilegeDTO.
|
Modifier and Type | Method and Description |
---|---|
static PrivilegeDTO.Builder |
builder() |
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() |
protected PrivilegeDTO()
protected PrivilegeDTO(Privilege.Name name, Privilege.Condition condition)
name
- The name of the Privilege DTO.condition
- The condition of the Privilege DTO.public Privilege.Name name()
public java.lang.String simpleString()
simpleString
in interface Privilege
public Privilege.Condition condition()
public boolean canBindTo(MetadataObject.Type type)
Privilege
public static PrivilegeDTO.Builder builder()