AclScope

Inheritance: java.lang.Object

public class AclScope

The scope of the access rule.

Constructors

ConstructorDescription
AclScope()Initializes a new instance of the AclScope class.
AclScope(int type, String value)Initializes a new instance of the AclScope class.

Methods

MethodDescription
equals(Object arg0)
getClass()
getType()The type of the ACL scope.
getValue()The email address of a user or group, or the name of a domain, depending on the scope type.
hashCode()
notify()
notifyAll()
setType(int value)The type of the ACL scope.
setValue(String value)The email address of a user or group, or the name of a domain, depending on the scope type.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

AclScope()

public AclScope()

Initializes a new instance of the AclScope class.

AclScope(int type, String value)

public AclScope(int type, String value)

Initializes a new instance of the AclScope class.

Parameters:

ParameterTypeDescription
typeintThe type of the ACL scope.
valuejava.lang.StringThe email address of a user or group, or the name of a domain, depending on the scope type.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getType()

public final int getType()

The type of the ACL scope.

Returns: int

getValue()

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”.

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setType(int value)

public final void setType(int value)

The type of the ACL scope.

Parameters:

ParameterTypeDescription
valueint

setValue(String value)

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”.

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int