@InterfaceStability.Evolving public class AclBinding extends java.lang.Object
Constructor and Description |
---|
AclBinding(Resource resource,
AccessControlEntry entry)
Create an instance of this class with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
AccessControlEntry |
entry()
Return the access control entry for this binding.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isUnknown()
Return true if this binding has any UNKNOWN components.
|
Resource |
resource()
Return the resource for this binding.
|
AclBindingFilter |
toFilter()
Create a filter which matches only this AclBinding.
|
java.lang.String |
toString() |
public AclBinding(Resource resource, AccessControlEntry entry)
resource
- non-null resourceentry
- non-null entrypublic boolean isUnknown()
public Resource resource()
public final AccessControlEntry entry()
public AclBindingFilter toFilter()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object