@InterfaceStability.Evolving public class AclBinding extends java.lang.Object
Constructor and Description |
---|
AclBinding(Resource resource,
AccessControlEntry entry)
Deprecated.
Since 2.0. Use
AclBinding(ResourcePattern, AccessControlEntry) |
AclBinding(ResourcePattern pattern,
AccessControlEntry entry)
Create an instance of this class with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
AccessControlEntry |
entry() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isUnknown() |
ResourcePattern |
pattern() |
AclBindingFilter |
toFilter()
Create a filter which matches only this AclBinding.
|
java.lang.String |
toString() |
public AclBinding(ResourcePattern pattern, AccessControlEntry entry)
pattern
- non-null resource pattern.entry
- non-null entry@Deprecated public AclBinding(Resource resource, AccessControlEntry entry)
AclBinding(ResourcePattern, AccessControlEntry)
resource
- non-null resourceentry
- non-null entrypublic boolean isUnknown()
public ResourcePattern pattern()
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