Package feast.common.logging.entry
Class ActionAuditLogEntry
- java.lang.Object
-
- feast.common.logging.entry.AuditLogEntry
-
- feast.common.logging.entry.ActionAuditLogEntry
-
public abstract class ActionAuditLogEntry extends AuditLogEntry
ActionAuditLogEntry records an action being taken on a specific resource
-
-
Field Summary
-
Fields inherited from class feast.common.logging.entry.AuditLogEntry
application, logType
-
-
Constructor Summary
Constructors Constructor Description ActionAuditLogEntry()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringgetAction()The name of the action taken on the resource.abstract LogResourcegetResource()The target resource of which the action was taken on.static ActionAuditLogEntryof(String component, String version, LogResource resource, String action)Create anAuditLogEntrythat records an action being taken on a specific resource.-
Methods inherited from class feast.common.logging.entry.AuditLogEntry
getComponent, getKind, getVersion, toJSON
-
-
-
-
Method Detail
-
getAction
public abstract String getAction()
The name of the action taken on the resource.
-
getResource
public abstract LogResource getResource()
The target resource of which the action was taken on.
-
of
public static ActionAuditLogEntry of(String component, String version, LogResource resource, String action)
Create anAuditLogEntrythat records an action being taken on a specific resource.- Parameters:
component- The name of th Feast component producing thisAuditLogEntry.version- The version of Feast producing thisAuditLogEntry.resource- The target resource of which the action was taken on.action- The name of the action being taken on the given resource.
-
-