public class AclScope extends Object
The scope of the access rule.
Constructor and Description |
---|
AclScope()
Initializes a new instance of the AclScope class.
|
AclScope(int type,
String value)
Initializes a new instance of the AclScope class.
|
Modifier and Type | Method and Description |
---|---|
int |
getType()
The type of the ACL scope.
|
String |
getValue()
The email address of a user or group, or the name of a domain, depending on the scope type.
|
void |
setType(int value)
The type of the ACL scope.
|
void |
setValue(String value)
The email address of a user or group, or the name of a domain, depending on the scope type.
|
public AclScope()
Initializes a new instance of the AclScope class.
public AclScope(int type, String value)
Initializes a new instance of the AclScope class.
type
- The type of the ACL scope.value
- The email address of a user or group, or the name of a domain, depending on the scope type.public final int getType()
The type of the ACL scope.
public final void setType(int value)
The type of the ACL scope.
public final String getValue()
The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type "default".
public final void setValue(String value)
The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type "default".