org.jwall.audit
Interface Event

All Superinterfaces:
Serializable
All Known Subinterfaces:
AuditEvent, LogMessage
All Known Implementing Classes:
IronBeeAuditEvent, LogMessageImpl, ModSecurityAuditEvent, ScriptEvent

public interface Event
extends Serializable

This interface defines methods common to all observable events.

Author:
Christian Bockermann <chris@jwall.org>

Field Summary
static String TIMESTAMP
           
static String TYPE
           
 
Method Summary
 String get(String variableName)
          This method returns the specified aspect for the given event.
 Long getTimestamp()
          Returns the time of this event in milliseconds since 1970.
 EventType getType()
           
 void set(String variable, String value)
           
 

Field Detail

TIMESTAMP

static final String TIMESTAMP
See Also:
Constant Field Values

TYPE

static final String TYPE
See Also:
Constant Field Values
Method Detail

getTimestamp

Long getTimestamp()
Returns the time of this event in milliseconds since 1970.

Returns:

getType

EventType getType()

get

String get(String variableName)
This method returns the specified aspect for the given event.

Parameters:
variableName -
Returns:

set

void set(String variable,
         String value)


Copyright © 2012 jwall.org. All Rights Reserved.