Package 

Interface ParameterKey


  • 
    public interface ParameterKey
    
                        

    A parameter key - the implementation is usually an enum.

    • Method Summary

      Modifier and Type Method Description
      Parameters get(Object value) Create a Parameters with this as key and the value.toString() value.
      Parameters invoke(Object value) Create a Parameters with this as key and the value json serialized string.
      abstract String getName() Overridden by enum implementation.
      String getKey()
      • Methods inherited from class ai.tock.bot.definition.ParameterKey

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait