Class Commands
java.lang.Object
fr.lteconsulting.pomexplorer.commands.Commands
public class Commands
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classCommands.CommandCallInfo -
Constructor Summary
Constructors Constructor Description Commands() -
Method Summary
Modifier and Type Method Description voidaddCommand(java.lang.Object command)voidaddCommand(java.lang.String name, java.lang.Object command)Commands.CommandCallInfofindMethodForCommand(java.util.List<java.lang.String> parts, fr.lteconsulting.pomexplorer.Log log)java.lang.Stringhelp()voidtakeCommand(Client client, fr.lteconsulting.pomexplorer.Log log, java.lang.String text)Returns the error or null if success
-
Constructor Details
-
Commands
public Commands()
-
-
Method Details
-
addCommand
public void addCommand(java.lang.Object command) -
addCommand
public void addCommand(java.lang.String name, java.lang.Object command) -
help
public java.lang.String help() -
takeCommand
public void takeCommand(Client client, fr.lteconsulting.pomexplorer.Log log, java.lang.String text)Returns the error or null if success -
findMethodForCommand
public Commands.CommandCallInfo findMethodForCommand(java.util.List<java.lang.String> parts, fr.lteconsulting.pomexplorer.Log log)
-