クラス AbstractCommand

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

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

    • logger

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

    • AbstractCommand

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

    • execute

      protected void execute(com.sqlapp.jdbc.function.ExceptionRunnable runnable)
      処理を行い、例外を処理します
      パラメータ:
      dataSource - DataSource
      runnable - 行う処理
    • getExceptionHandler

      protected com.sqlapp.util.ExceptionHandler getExceptionHandler()
      戻り値:
      the exceptionHandler
    • run

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

      protected void initialize()
    • initializeContext

      protected void initializeContext()
    • doRun

      protected abstract void doRun()
    • getErr

      protected PrintStream getErr()
      戻り値:
      the err
    • 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)