Class SubServer.LoggedCommand

java.lang.Object
net.ME1312.SubServers.Bungee.Host.SubServer.LoggedCommand
Enclosing interface:
SubServer

public static class SubServer.LoggedCommand extends Object
Command Storage Class
  • Constructor Details

    • LoggedCommand

      public LoggedCommand(String command)
      Store a Command
      Parameters:
      command - Command
    • LoggedCommand

      public LoggedCommand(UUID sender, String command)
      Store a Command
      Parameters:
      sender - Command Sender (null for CONSOLE)
      command - Command
    • LoggedCommand

      public LoggedCommand(Date date, UUID sender, String command)
      Store a Command
      Parameters:
      date - Date
      sender - Command Sender (null for CONSOLE)
      command - Command
  • Method Details

    • getDate

      public Date getDate()
      Get the date this command was logged
      Returns:
      Date
    • getSender

      public UUID getSender()
      Get the command sender
      Returns:
      Command Sender (null if CONSOLE)
    • getCommand

      public String getCommand()
      Get the command
      Returns:
      Command