@InterfaceStability.Evolving public class AclBindingFilter extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static AclBindingFilter |
ANY
A filter which matches any ACL binding.
|
| Constructor and Description |
|---|
AclBindingFilter(ResourceFilter resourceFilter,
AccessControlEntryFilter entryFilter)
Create an instance of this filter with the provided parameters.
|
| Modifier and Type | Method and Description |
|---|---|
AccessControlEntryFilter |
entryFilter()
Return the access control entry filter.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
findIndefiniteField()
Return a string describing an ANY or UNKNOWN field, or null if there is no such field.
|
int |
hashCode() |
boolean |
isUnknown()
Return true if this filter has any UNKNOWN components.
|
boolean |
matches(AclBinding binding)
Return true if the resource filter matches the binding's resource and the entry filter matches binding's entry.
|
boolean |
matchesAtMostOne()
Return true if the resource and entry filters can only match one ACE.
|
ResourceFilter |
resourceFilter()
Return the resource filter.
|
java.lang.String |
toString() |
public static final AclBindingFilter ANY
public AclBindingFilter(ResourceFilter resourceFilter, AccessControlEntryFilter entryFilter)
resourceFilter - non-null resource filterentryFilter - non-null access control entry filterpublic boolean isUnknown()
public ResourceFilter resourceFilter()
public final AccessControlEntryFilter entryFilter()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic boolean matchesAtMostOne()
public java.lang.String findIndefiniteField()
public boolean matches(AclBinding binding)
public int hashCode()
hashCode in class java.lang.Object