Class PersistentAuditRecord
java.lang.Object
com.inductiveautomation.ignition.gateway.audit.storeforward.PersistentAuditRecord
- All Implemented Interfaces:
AuditRecord
,PersistentData
An
AuditRecord
wrapper
that contains PersistentFlavor
information that can be used within the Store & Forward system.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
A 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.Retrieves thePersistentFlavor
associated with this kind of persistent data.int
The ApplicationScope where this record was generated fromA Description of the originating system for this recordint
The StatusCode that represents whether this action was successful or not.The timestamp at which this record occuredint
hashCode()
static PersistentAuditRecord
wrap
(AuditRecord auditRecord) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.gateway.storeforward.data.PersistentData
getDataCount
-
Field Details
-
FLAVOR
-
-
Method Details
-
wrap
-
getActor
Description copied from interface:AuditRecord
Who performed the event. Should be a username or appropriate system equivalent if the event was performed automatically by a program- Specified by:
getActor
in interfaceAuditRecord
-
getActorHost
Description copied from interface:AuditRecord
Where the actor was when the action was performed. Should be an IP address or a hostname of a computer- Specified by:
getActorHost
in interfaceAuditRecord
-
getAction
Description copied from interface:AuditRecord
A description of the action. Examples: "tag write", "tag delete", "tag edit", " query update", " login", "logout" "project save"- Specified by:
getAction
in interfaceAuditRecord
-
getActionTarget
Description copied from interface:AuditRecord
The target of the action.- Specified by:
getActionTarget
in interfaceAuditRecord
-
getActionValue
Description copied from interface:AuditRecord
The value of the action. Might not be present for all action types- Specified by:
getActionValue
in interfaceAuditRecord
-
getStatusCode
public int getStatusCode()Description copied from interface:AuditRecord
The StatusCode that represents whether this action was successful or not.- Specified by:
getStatusCode
in interfaceAuditRecord
-
getTimestamp
Description copied from interface:AuditRecord
The timestamp at which this record occured- Specified by:
getTimestamp
in interfaceAuditRecord
-
getOriginatingSystem
Description copied from interface:AuditRecord
A Description of the originating system for this record- Specified by:
getOriginatingSystem
in interfaceAuditRecord
-
getOriginatingContext
public int getOriginatingContext()Description copied from interface:AuditRecord
The ApplicationScope where this record was generated from- Specified by:
getOriginatingContext
in interfaceAuditRecord
-
getFlavor
Description copied from interface:PersistentData
Retrieves thePersistentFlavor
associated with this kind of persistent data.- Specified by:
getFlavor
in interfacePersistentData
- Returns:
- a
PersistentFlavor
object
-
hashCode
public int hashCode() -
equals
-