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
    class  Commands.CommandCallInfo  
  • Constructor Summary

    Constructors 
    Constructor Description
    Commands()  
  • Method Summary

    Modifier and Type Method Description
    void addCommand​(java.lang.Object command)  
    void addCommand​(java.lang.String name, java.lang.Object command)  
    Commands.CommandCallInfo findMethodForCommand​(java.util.List<java.lang.String> parts, fr.lteconsulting.pomexplorer.Log log)  
    java.lang.String help()  
    void takeCommand​(Client client, fr.lteconsulting.pomexplorer.Log log, java.lang.String text)
    Returns the error or null if success

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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)