public abstract class Handler extends Object implements Initializable, Serializable
Constructor and Description |
---|
Handler() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close.
|
AuditEvent |
getAuditEvent()
Gets the audit event.
|
String |
getProperty(String key)
Gets the property.
|
String |
getQuery()
Gets the query.
|
abstract void |
handle()
Handle.
|
void |
setAuditEvent(AuditEvent auditEvent)
Sets the audit event.
|
void |
setProperties(Map<String,String> properties)
Sets the properties.
|
void |
setQuery(String query)
Sets the query.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, stop
public void close()
public abstract void handle() throws HandlerException
HandlerException
- the handler exceptionpublic void setQuery(String query)
query
- the new querypublic AuditEvent getAuditEvent()
public void setAuditEvent(AuditEvent auditEvent)
auditEvent
- the new audit eventpublic String getQuery()
public String getProperty(String key)
key
- the keyCopyright © 2015 Audit4j. All rights reserved.