Interface Command

All Known Implementing Classes:
Deploy, GetCommand, Help, Undeploy

public interface Command
Represents a command
Author:
Jesper Pedersen
  • Method Details

    • getName

      String getName()
      Get the name of the command
      Returns:
      The name
    • getParameterTypes

      Class[] getParameterTypes()
      Get the parameter types of the command; null if none
      Returns:
      The types
    • invoke

      Serializable invoke(Serializable[] args)
      Invoke
      Parameters:
      args - The arguments
      Returns:
      The return value
    • isPublic

      boolean isPublic()
      Is it a public command
      Returns:
      True if system-wide; false if internal