Package feast.common.logging.entry
Class TransitionAuditLogEntry
- java.lang.Object
-
- feast.common.logging.entry.AuditLogEntry
-
- feast.common.logging.entry.TransitionAuditLogEntry
-
public abstract class TransitionAuditLogEntry extends AuditLogEntry
TransitionAuditLogEntry records a transition in state/status in a specific resource.
-
-
Field Summary
-
Fields inherited from class feast.common.logging.entry.AuditLogEntry
application, logType
-
-
Constructor Summary
Constructors Constructor Description TransitionAuditLogEntry()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract LogResourcegetResource()The resource which the state/status transition occured.abstract StringgetStatus()The end status with the resource transition to.static TransitionAuditLogEntryof(String component, String version, LogResource resource, String status)Construct a newAuditLogEntryto record a transition in state/status in a specific resource.-
Methods inherited from class feast.common.logging.entry.AuditLogEntry
getComponent, getKind, getVersion, toJSON
-
-
-
-
Method Detail
-
getResource
public abstract LogResource getResource()
The resource which the state/status transition occured.
-
getStatus
public abstract String getStatus()
The end status with the resource transition to.
-
of
public static TransitionAuditLogEntry of(String component, String version, LogResource resource, String status)
Construct a newAuditLogEntryto record a transition in state/status in a specific resource.- Parameters:
component- The name of th Feast component producing thisAuditLogEntry.version- The version of Feast producing thisAuditLogEntry.resource- the resource which the transtion occuredstatus- the end status which the resource transitioned to.
-
-