public interface Log
The returned instance provides a copy of the data at the time of retrieval.
Any changes made to log entries will only apply to this instance of the log.
You can add to the log using the Storage, and then request an updated copy.
All methods are thread safe, and return immutable and thread safe collections.
| Modifier and Type | Method and Description |
|---|---|
@NonNull SortedSet<LogEntry> |
getContent()
Gets the
LogEntrys that make up this log. |
@NonNull SortedSet<LogEntry> |
getContent(@NonNull UUID actor)
Gets the entries in the log performed by the given actor.
|
@NonNull SortedSet<LogEntry> |
getGroupHistory(@NonNull String name)
Gets the log content for a given group
|
@NonNull SortedSet<LogEntry> |
getTrackHistory(@NonNull String name)
Gets the log content for a given track
|
@NonNull SortedSet<LogEntry> |
getUserHistory(@NonNull UUID uuid)
Gets the log content for a given user
|
@NonNull SortedSet<LogEntry> getContent()
LogEntrys that make up this log.@NonNull SortedSet<LogEntry> getContent(@NonNull UUID actor)
actor - the uuid of the actor to filter by@NonNull SortedSet<LogEntry> getUserHistory(@NonNull UUID uuid)
uuid - the uuid to filter by@NonNull SortedSet<LogEntry> getGroupHistory(@NonNull String name)
name - the name to filter by