public static interface LogEntry.Builder
| Modifier and Type | Method and Description |
|---|---|
@NonNull LogEntry |
build()
Creates a
LogEntry instance from the builder. |
@NonNull LogEntry.Builder |
setActed(@Nullable UUID acted)
Sets the acted object for the entry.
|
@NonNull LogEntry.Builder |
setActedName(@NonNull String actedName)
Sets the acted name for the entry.
|
@NonNull LogEntry.Builder |
setAction(@NonNull String action)
Sets the action of the entry.
|
@NonNull LogEntry.Builder |
setActor(@NonNull UUID actor)
Sets the actor of the entry.
|
@NonNull LogEntry.Builder |
setActorName(@NonNull String actorName)
Sets the actor name of the entry.
|
@NonNull LogEntry.Builder |
setTimestamp(long timestamp)
Sets the timestamp of the entry.
|
@NonNull LogEntry.Builder |
setType(@NonNull 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()