Class DefaultAuditRecord
java.lang.Object
com.inductiveautomation.ignition.common.audit.DefaultAuditRecord
- All Implemented Interfaces:
AuditRecord
A simple immutable implementation of AuditRecord
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanA description of the action.The target of the action.The value of the action.getActor()Who performed the event.Where the actor was when the action was performed.intThe ApplicationScope where this record was generated fromA Description of the originating system for this record@Nullable StringThe previous value of the action's target, prior to this action being performed.intThe StatusCode that represents whether this action was successful or not.The timestamp at which this record occurredinthashCode()static DefaultAuditRecord.BuildertoString()
-
Method Details
-
getAction
Description copied from interface:AuditRecordA description of the action. Examples: "tag write", "tag delete", "tag edit", " query update", " login", "logout" "project save"- Specified by:
getActionin interfaceAuditRecord
-
getActionTarget
Description copied from interface:AuditRecordThe target of the action.- Specified by:
getActionTargetin interfaceAuditRecord
-
getActionValue
Description copied from interface:AuditRecordThe value of the action. Might not be present for all action types- Specified by:
getActionValuein interfaceAuditRecord
-
getActor
Description copied from interface:AuditRecordWho performed the event. Should be a username or appropriate system equivalent if the event was performed automatically by a program- Specified by:
getActorin interfaceAuditRecord
-
getActorHost
Description copied from interface:AuditRecordWhere the actor was when the action was performed. Should be an IP address or a hostname of a computer- Specified by:
getActorHostin interfaceAuditRecord
-
getOriginatingContext
public int getOriginatingContext()Description copied from interface:AuditRecordThe ApplicationScope where this record was generated from- Specified by:
getOriginatingContextin interfaceAuditRecord
-
getOriginatingSystem
Description copied from interface:AuditRecordA Description of the originating system for this record- Specified by:
getOriginatingSystemin interfaceAuditRecord
-
getStatusCode
public int getStatusCode()Description copied from interface:AuditRecordThe StatusCode that represents whether this action was successful or not.- Specified by:
getStatusCodein interfaceAuditRecord
-
getTimestamp
Description copied from interface:AuditRecordThe timestamp at which this record occurred- Specified by:
getTimestampin interfaceAuditRecord
-
getPreviousValue
Description copied from interface:AuditRecordThe previous value of the action's target, prior to this action being performed. Might not be present for all action types.- Specified by:
getPreviousValuein interfaceAuditRecord
-
newBuilder
-
toString
-
equals
-
hashCode
-