Constructor and Description |
---|
ACL(String name)
Construct an ACL entry for the given identifier and with no rights.
|
ACL(String name,
Rights rights)
Construct an ACL entry for the given identifier with the given rights.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone this ACL entry.
|
String |
getName()
Get the identifier name for this ACL entry.
|
Rights |
getRights()
Get the rights associated with this ACL entry.
|
void |
setRights(Rights rights)
Set the rights associated with this ACL entry.
|
public ACL(String name)
name
- the identifier namepublic String getName()
public void setRights(Rights rights)
rights
- the rightspublic Rights getRights()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.