クラス AbstractCommand

java.lang.Object
com.sqlapp.data.db.command.AbstractCommand
すべての実装されたインタフェース:
Runnable
直系の既知のサブクラス:
AbstractDataSourceCommand, AbstractSchemaFileCommand, AddSqlFileCommand, AvailableFontsCommand, ConvertDataFileCommand, DiffCommand, GenerateDiffSqlCommand, GenerateSimpleSqlCommand

public abstract class AbstractCommand extends Object implements Runnable
  • フィールド詳細

    • logger

      protected static final org.apache.logging.log4j.Logger logger
  • コンストラクタの詳細

    • AbstractCommand

      public AbstractCommand()
  • メソッドの詳細

    • createJsonConverter

      protected com.sqlapp.util.JsonConverter createJsonConverter()
    • createYamlConverter

      protected com.sqlapp.util.YamlConverter createYamlConverter()
    • run

      public void run()
      定義:
      run インタフェース内 Runnable
    • initialize

      protected void initialize()
    • initializeContext

      protected void initializeContext()
    • doRun

      protected abstract void doRun()
    • debug

      protected void debug(Object obj)
    • info

      protected void info(Object obj)
    • debug

      protected void debug(Object... args)
    • info

      protected void info(Object... args)
    • error

      protected void error(Object... args)
    • error

      protected void error(Throwable t, Object... args)
    • getErr

      protected PrintStream getErr()
      戻り値:
      the err
    • getExceptionHandler

      public com.sqlapp.util.ExceptionHandler getExceptionHandler()
      戻り値:
      the exceptionHandler
    • setExceptionHandler

      public void setExceptionHandler(com.sqlapp.util.ExceptionHandler exceptionHandler)
      パラメータ:
      exceptionHandler - the exceptionHandler to set
    • getConsoleOutputLevel

      public ConsoleOutputLevel getConsoleOutputLevel()
    • setConsoleOutputLevel

      public void setConsoleOutputLevel(ConsoleOutputLevel consoleOutputLevel)
    • getConvertHandler

      public ConvertHandler getConvertHandler()
      戻り値:
      the convertHandler
    • getContext

      public Map<String,Object> getContext()
      戻り値:
      the context
    • setConvertHandler

      public void setConvertHandler(ConvertHandler convertHandler)
      パラメータ:
      convertHandler - the convertHandler to set