Package feast.common.logging.entry
Class AuditLogEntry
- java.lang.Object
-
- feast.common.logging.entry.AuditLogEntry
-
- Direct Known Subclasses:
ActionAuditLogEntry,MessageAuditLogEntry,TransitionAuditLogEntry
public abstract class AuditLogEntry extends Object
AuditLogEntry represents a single audit Log Entry. Audit log entry can converted into string with {Object.toString()for human readable representation. Or structured JSON with {toJSON()for a machine parsable representation.
-
-
Field Summary
Fields Modifier and Type Field Description StringapplicationStringlogTypeDeclare Log Type to allow external Logging systems to filter outAuditLogEntry
-
Constructor Summary
Constructors Constructor Description AuditLogEntry()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringgetComponent()The name of the Feast component producing thisAuditLogEntryabstract AuditLogEntryKindgetKind()abstract StringgetVersion()The version of Feast producing thisAuditLogEntryStringtoJSON()Return a structured JSON representation of thisAuditLogEntry
-
-
-
Field Detail
-
logType
public final String logType
Declare Log Type to allow external Logging systems to filter outAuditLogEntry- See Also:
- Constant Field Values
-
application
public final String application
- See Also:
- Constant Field Values
-
-
Method Detail
-
getComponent
public abstract String getComponent()
The name of the Feast component producing thisAuditLogEntry
-
getVersion
public abstract String getVersion()
The version of Feast producing thisAuditLogEntry
-
getKind
public abstract AuditLogEntryKind getKind()
-
toJSON
public String toJSON()
Return a structured JSON representation of thisAuditLogEntry
-
-