Class stl_Commands.Type_INFORMATIONAL

java.lang.Object
com.jackmeng.stl.stl_Commands.Commands_Fx
com.jackmeng.stl.stl_Commands.Type_INFORMATIONAL
All Implemented Interfaces:
stl_Callback<java.lang.String,​java.lang.String>
Enclosing class:
stl_Commands

public static class stl_Commands.Type_INFORMATIONAL
extends stl_Commands.Commands_Fx
  • Field Summary

    Fields
    Modifier and Type Field Description
    private java.lang.String text  
  • Constructor Summary

    Constructors
    Constructor Description
    Type_INFORMATIONAL​(java.lang.String text)  
  • Method Summary

    Modifier and Type Method Description
    stl_Commands.Commands_Type[] associated_types()  
    java.lang.String consume​(java.lang.String argument)
    Called by the original stl_Commands parser on every tick to parse and run another argument that was related to this argument.
    java.lang.String sequence()  
    java.lang.String text()  

    Methods inherited from class com.jackmeng.stl.stl_Commands.Commands_Fx

    call, commandName, finished, matches, properName

    Methods inherited from class java.lang.Object

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

    • text

      private final java.lang.String text
  • Constructor Details

    • Type_INFORMATIONAL

      public Type_INFORMATIONAL​(java.lang.String text)
  • Method Details

    • text

      public java.lang.String text()
    • consume

      public java.lang.String consume​(java.lang.String argument)
      Description copied from class: stl_Commands.Commands_Fx
      Called by the original stl_Commands parser on every tick to parse and run another argument that was related to this argument.
      Specified by:
      consume in class stl_Commands.Commands_Fx
      Parameters:
      argument - The input argument
      Returns:
      The next argument to be asked by stl_Commands. if this is null, the stl_Commands move on to the next Consumer (AKA argument)
    • sequence

      public java.lang.String sequence()
      Specified by:
      sequence in class stl_Commands.Commands_Fx
      Returns:
      The prefix of the command name. Should be standarized to '-','--',or'---''
    • associated_types

      public stl_Commands.Commands_Type[] associated_types()
      Specified by:
      associated_types in class stl_Commands.Commands_Fx