Drools Guvnor - Common Model 6.0.0.Beta1

org.drools.guvnor.models.commons.shared.auditlog
Interface AuditLog

All Superinterfaces:
Collection<AuditLogEntry>, Iterable<AuditLogEntry>, List<AuditLogEntry>
All Known Implementing Classes:
DefaultAuditLog

public interface AuditLog
extends List<AuditLogEntry>

An Audit Log that filters entries added to it depending on the type of entries the Log is configured to receive. Users of this log need therefore not filter which entries should be appended as this is handled by the log itself.


Method Summary
 boolean add(AuditLogEntry e)
          Add a new AuditLogEntry at the beginning of the list.
 AuditLogFilter getAuditLogFilter()
          Get the AuditLogFilter in operation on the AuditLog
 
Methods inherited from interface java.util.List
add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

getAuditLogFilter

AuditLogFilter getAuditLogFilter()
Get the AuditLogFilter in operation on the AuditLog

Returns:

add

boolean add(AuditLogEntry e)
Add a new AuditLogEntry at the beginning of the list. This is different behaviour to a regular List but it prevents the need to sort entries in descending order.

Specified by:
add in interface Collection<AuditLogEntry>
Specified by:
add in interface List<AuditLogEntry>

Drools Guvnor - Common Model 6.0.0.Beta1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.