Class CLAbstractCommand

java.lang.Object
com.io7m.claypot.core.CLPAbstractCommand
com.io7m.changelog.cmdline.internal.CLAbstractCommand
All Implemented Interfaces:
com.io7m.claypot.core.CLPCommandType
Direct Known Subclasses:
CLCommandChangeAdd, CLCommandInitialize, CLCommandReleaseBegin, CLCommandReleaseCurrent, CLCommandReleaseFinish, CLCommandReleaseSetVersion, CLCommandVersion, CLCommandWriteAtom, CLCommandWritePlain, CLCommandWriteXHTML

public abstract class CLAbstractCommand extends com.io7m.claypot.core.CLPAbstractCommand
The base type of commands.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.io7m.claypot.core.CLPCommandType

    com.io7m.claypot.core.CLPCommandType.Status
  • Constructor Summary

    Constructors
    Constructor
    Description
    CLAbstractCommand(org.slf4j.Logger inLogger, com.io7m.claypot.core.CLPCommandContextType inContext)
    Construct a command.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final void
    error(String id, Object... arguments)
     
    protected final void
    info(String id, Object... arguments)
     
    protected final CLMessages
     

    Methods inherited from class com.io7m.claypot.core.CLPAbstractCommand

    commander, configuration, context, execute, executeActual, logger, strings

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.io7m.claypot.core.CLPCommandType

    extendedHelp, name
  • Constructor Details

    • CLAbstractCommand

      public CLAbstractCommand(org.slf4j.Logger inLogger, com.io7m.claypot.core.CLPCommandContextType inContext)
      Construct a command.
      Parameters:
      inLogger - The command logger
      inContext - The command context
  • Method Details

    • messages

      protected final CLMessages messages()
    • error

      protected final void error(String id, Object... arguments)
    • info

      protected final void info(String id, Object... arguments)