Class AuditContext
java.lang.Object
com.inductiveautomation.ignition.gateway.audit.AuditContext
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetActor()
getHost()
getPath()
int
getScope()
int
Pull fields from thisAuditContext
into a newAuditRecordBuilder
instance, which should then be supplied with (at minimum) anaction
,target
, andvalue
.static Supplier<AuditContext>
unknown
(int scope) Convenience method to create a new unknown AuditContext with the givenApplicationScope
.
-
Field Details
-
UNKNOWN_ACTOR
- See Also:
-
-
Method Details
-
unknown
Convenience method to create a new unknown AuditContext with the givenApplicationScope
.- Parameters:
scope
- The application scope.- Returns:
- The Supplier of the AuditContext.
-
getActor
-
getHost
-
getScope
public int getScope() -
getPath
-
getTimestamp
-
getStatusCode
public int getStatusCode() -
toRecordBuilder
Pull fields from thisAuditContext
into a newAuditRecordBuilder
instance, which should then be supplied with (at minimum) anaction
,target
, andvalue
. Project specific, or otherwise more 'narrow' systems, should alsoextend
theQualifiedPath
available on thisAuditContext
, to provide more specific context; see alsoWellKnownPathTypes
for inspiration. -
toContextBuilder
- Returns:
- a new
AuditContext.Builder
with all fields set to this context's fields
-