Class DefaultAuditRecord
java.lang.Object
com.inductiveautomation.ignition.gateway.audit.DefaultAuditRecord
- All Implemented Interfaces:
- AuditRecord,- Serializable
A simple immutable implementation of AuditRecord
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultAuditRecord(AuditAction action, String actionTarget, String actionValue, String actor, String actorHost, int originatingContext, String originatingSystem) Uses a GOOD status code and the current timestampDefaultAuditRecord(String action, String actionTarget, String actionValue, String actor, String actorHost, int originatingContext, String originatingSystem, int statusCode, Date timestamp) 
- 
Method SummaryModifier and TypeMethodDescriptionA 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 recordintThe StatusCode that represents whether this action was successful or not.The timestamp at which this record occuredtoString()
- 
Constructor Details
- 
Method Details- 
getActionDescription copied from interface:AuditRecordA description of the action. Examples: "tag write", "tag delete", "tag edit", " query update", " login", "logout" "project save"- Specified by:
- getActionin interface- AuditRecord
 
- 
getActionTargetDescription copied from interface:AuditRecordThe target of the action.- Specified by:
- getActionTargetin interface- AuditRecord
 
- 
getActionValueDescription copied from interface:AuditRecordThe value of the action. Might not be present for all action types- Specified by:
- getActionValuein interface- AuditRecord
 
- 
getActorDescription 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 interface- AuditRecord
 
- 
getActorHostDescription 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 interface- AuditRecord
 
- 
getOriginatingContextpublic int getOriginatingContext()Description copied from interface:AuditRecordThe ApplicationScope where this record was generated from- Specified by:
- getOriginatingContextin interface- AuditRecord
 
- 
getOriginatingSystemDescription copied from interface:AuditRecordA Description of the originating system for this record- Specified by:
- getOriginatingSystemin interface- AuditRecord
 
- 
getStatusCodepublic int getStatusCode()Description copied from interface:AuditRecordThe StatusCode that represents whether this action was successful or not.- Specified by:
- getStatusCodein interface- AuditRecord
 
- 
getTimestampDescription copied from interface:AuditRecordThe timestamp at which this record occured- Specified by:
- getTimestampin interface- AuditRecord
 
- 
toString
 
-