クラス 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
-
フィールドの概要
フィールド -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明protected voidprotected voidprotected abstract voiddoRun()protected voidprotected voidprotected voidexecute(com.sqlapp.jdbc.function.ExceptionRunnable runnable) 処理を行い、例外を処理しますprotected PrintStreamgetErr()protected com.sqlapp.util.ExceptionHandlerprotected voidprotected voidprotected voidprotected voidvoidrun()クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.ConsoleOutputLevelProperty
getConsoleOutputLevel, setConsoleOutputLevel, setConsoleOutputLevelインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.ConvertersProperty
getConverters, setConverters
-
フィールド詳細
-
logger
protected static final org.apache.logging.log4j.Logger logger
-
-
コンストラクタの詳細
-
AbstractCommand
public AbstractCommand()
-
-
メソッドの詳細
-
execute
protected void execute(com.sqlapp.jdbc.function.ExceptionRunnable runnable) 処理を行い、例外を処理します- パラメータ:
dataSource- DataSourcerunnable- 行う処理
-
getExceptionHandler
protected com.sqlapp.util.ExceptionHandler getExceptionHandler()- 戻り値:
- the exceptionHandler
-
run
public void run() -
initialize
protected void initialize() -
initializeContext
protected void initializeContext() -
doRun
protected abstract void doRun() -
getErr
- 戻り値:
- the err
-
debug
-
info
-
debug
-
info
-
error
-
error
-