@InterfaceStability.Evolving public class Action extends java.lang.Object
Constructor and Description |
---|
Action(AclOperation operation,
ResourcePattern resourcePattern,
int resourceReferenceCount,
boolean logIfAllowed,
boolean logIfDenied) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
logIfAllowed()
Indicates if audit logs tracking ALLOWED access should include this action if result is
ALLOWED.
|
boolean |
logIfDenied()
Indicates if audit logs tracking DENIED access should include this action if result is
DENIED.
|
AclOperation |
operation()
Operation being performed.
|
ResourcePattern |
resourcePattern()
Resource on which action is being performed.
|
int |
resourceReferenceCount()
Number of times the resource being authorized is referenced within the request.
|
java.lang.String |
toString() |
public Action(AclOperation operation, ResourcePattern resourcePattern, int resourceReferenceCount, boolean logIfAllowed, boolean logIfDenied)
public ResourcePattern resourcePattern()
public AclOperation operation()
public boolean logIfAllowed()
public boolean logIfDenied()
public int resourceReferenceCount()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object