public interface Action extends Comparable<Action>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Action.Builder
Builds an
Action instance |
static interface |
Action.Source
Represents the source of an action.
|
static interface |
Action.Target
Represents the target of an action.
|
| Modifier and Type | Method and Description |
|---|---|
static @NonNull Action.Builder |
builder()
Gets a
Action.Builder |
@NonNull String |
getDescription()
Returns a string describing the action which took place.
|
@NonNull Action.Source |
getSource()
Gets the source of the action.
|
@NonNull Action.Target |
getTarget()
Gets the target of the action.
|
@NonNull Instant |
getTimestamp()
Gets the time when the action occurred.
|
compareTostatic @NonNull Action.Builder builder()
Action.Builder@NonNull Instant getTimestamp()
@NonNull Action.Source getSource()
@NonNull Action.Target getTarget()
@NonNull String getDescription()
In most instances, this returns a variation of the command string which caused the change.