public class AuditEventDispatcher.RegisteredAuditSpecification extends Object
Constructor and Description |
---|
RegisteredAuditSpecification(LibrarySession session,
AuditSpecification auditSpec)
Constructs a RegisteredAuditSpecification.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getAuditEventPropertyTableName()
Gets the event property table name used by this registered
AuditSpecification if a private event property table name is in use.
|
protected String |
getAuditEventTableName()
Gets the event table name used by this registered AuditSpecification.
|
protected AuditSpecification |
getAuditSpecification(LibrarySession session)
Get the AuditSpecification instance represented by this.
|
protected Long |
getAuditSpecificationId()
Gets the AuditSpecification ID.
|
protected long |
getMinimumEventId()
Gets the minimum Raw Audit Event encountered.
|
void |
initialize(LibrarySession session)
Initializes a RegisteredAuditSpecification.
|
void |
initialize(LibrarySession session,
AuditSpecification spec)
Initializes a RegisteredAuditSpecification.
|
protected boolean |
isAuditSpecificationActive()
Returns indication as to whether the AuditSpecification is active.
|
protected boolean |
isEventApplicable(LibrarySession session,
RawAuditEvent rawEvent)
Is the specified AuditEvent applicable to this AuditSpecification?
|
protected boolean |
isHandlerNotifiedWhenEventsPosted()
Should handler get notified when events are posted?
|
protected boolean |
isPendingAuditEventDispatchRequests()
Are there AuditEventDispatchRequests pending?
|
protected void |
setMinimumEventId(long eventId)
Sets the minimum Raw Audit Event encountered.
|
protected void |
setPendingAuditEventDispatchRequests(boolean value)
Sets whether there are any pending AuditEventDispatchRequests.
|
public RegisteredAuditSpecification(LibrarySession session, AuditSpecification auditSpec) throws IfsException
session
- the posted audit eventauditSpec
- the AuditSpecificationIfsException
- if the operation failspublic void initialize(LibrarySession session) throws IfsException
session
- the posted audit eventIfsException
- if the operation failspublic void initialize(LibrarySession session, AuditSpecification spec) throws IfsException
session
- the posted audit eventspec
- the AuditSpecificationIfsException
- if the operation failsprotected Long getAuditSpecificationId()
protected String getAuditEventTableName()
protected String getAuditEventPropertyTableName()
protected boolean isAuditSpecificationActive()
protected boolean isPendingAuditEventDispatchRequests()
protected void setPendingAuditEventDispatchRequests(boolean value)
value
- whether there are pending requestsprotected long getMinimumEventId()
protected void setMinimumEventId(long eventId)
Updates the internal value if it is less than the value specified in this call.
eventId
- raw event IDprotected boolean isHandlerNotifiedWhenEventsPosted()
protected boolean isEventApplicable(LibrarySession session, RawAuditEvent rawEvent)
session
- the session contextrawEvent
- the raw event to checkprotected AuditSpecification getAuditSpecification(LibrarySession session) throws IfsException
session
- the posted audit eventIfsException
- if the operation failsCopyright © 2023. All rights reserved.