public static interface LogEntry.Builder
| Modifier and Type | Method and Description |
|---|---|
LogEntry |
build()
Creates a
LogEntry instance from the builder. |
LogEntry.Builder |
setActed(UUID acted)
Sets the acted object for the entry.
|
LogEntry.Builder |
setActedName(String actedName)
Sets the acted name for the entry.
|
LogEntry.Builder |
setAction(String action)
Sets the action of the entry.
|
LogEntry.Builder |
setActor(UUID actor)
Sets the actor of the entry.
|
LogEntry.Builder |
setActorName(String actorName)
Sets the actor name of the entry.
|
LogEntry.Builder |
setTimestamp(long timestamp)
Sets the timestamp of the entry.
|
LogEntry.Builder |
setType(LogEntry.Type type)
Sets the type of the entry.
|
@Nonnull LogEntry.Builder setTimestamp(long timestamp)
timestamp - the timestampLogEntry.getTimestamp()@Nonnull LogEntry.Builder setActor(@Nonnull UUID actor)
actor - the actorLogEntry.getActor()@Nonnull LogEntry.Builder setActorName(@Nonnull String actorName)
actorName - the actor nameLogEntry.getActorName()@Nonnull LogEntry.Builder setType(@Nonnull LogEntry.Type type)
type - the typeLogEntry.getType()@Nonnull LogEntry.Builder setActed(@Nullable UUID acted)
acted - the acted objectLogEntry.getActed()@Nonnull LogEntry.Builder setActedName(@Nonnull String actedName)
actedName - the acted nameLogEntry.getActedName()@Nonnull LogEntry.Builder setAction(@Nonnull String action)
action - the actionLogEntry.getAction()Copyright © 2018. All rights reserved.