core
1.9.0
jvm
core
/
io.spine.core
/
Commands
Commands
public
final
class
Commands
Client-side utilities for working with commands.
Members
Functions
ensure
Message
Link copied to clipboard
public
static
CommandMessage
ensureMessage
(
Message commandOrMessage
)
Extracts a command message if the passed instance is a Command object or Any, otherwise returns the passed message.
id
Stringifier
Link copied to clipboard
public
static
Stringifier<CommandId>
idStringifier
(
)
Obtains stringifier for command IDs.
sort
Link copied to clipboard
public
static
void
sort
(
List
<
Command
>
commands
)
Sorts the command given command request list by command timestamp value.