public static class SubServer.LoggedCommand
extends java.lang.Object
Constructor and Description |
---|
LoggedCommand(java.util.Date date,
java.util.UUID sender,
java.lang.String command)
Store a Command
|
LoggedCommand(java.lang.String command)
Store a Command
|
LoggedCommand(java.util.UUID sender,
java.lang.String command)
Store a Command
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommand()
Get the command
|
java.util.Date |
getDate()
Get the date this command was logged
|
java.util.UUID |
getSender()
Get the command sender
|
public LoggedCommand(java.lang.String command)
command
- Commandpublic LoggedCommand(java.util.UUID sender, java.lang.String command)
sender
- Command Sender (null for CONSOLE)command
- Commandpublic LoggedCommand(java.util.Date date, java.util.UUID sender, java.lang.String command)
date
- Datesender
- Command Sender (null for CONSOLE)command
- Command