public interface LogEntry extends Comparable<LogEntry>
for creating an instance| Modifier and Type | Interface and Description |
|---|---|
static interface |
LogEntry.Builder
Builds a LogEntry instance
|
static class |
LogEntry.Type
Represents the type of a
LogEntry. |
| Modifier and Type | Method and Description |
|---|---|
@NonNull Optional<UUID> |
getActed()
Gets the uuid of the object which was acted upon.
|
@NonNull String |
getActedName()
Gets the name describing the object which was acted upon
|
@NonNull String |
getAction()
Returns a string describing the action which took place.
|
@NonNull UUID |
getActor()
Gets the id of the object which performed the action.
|
@NonNull String |
getActorName()
Gets the name describing the actor.
|
long |
getTimestamp()
Gets the time in unix seconds when the action occurred.
|
@NonNull LogEntry.Type |
getType()
Gets the type of action.
|
compareTolong getTimestamp()
@NonNull UUID getActor()
This is the players uuid in most cases.
@NonNull String getActorName()
@NonNull LogEntry.Type getType()
@NonNull Optional<UUID> getActed()
Will only return a value for LogEntry.Type.USER entries.
@NonNull String getActedName()
@NonNull String getAction()
In most instances, this returns a variation of the command string which caused the change.