クラス AbstractCommand
java.lang.Object
com.sqlapp.data.db.command.AbstractCommand
- すべての実装されたインタフェース:
Runnable
- 直系の既知のサブクラス:
AbstractDataSourceCommand,AbstractSchemaFileCommand,AddSqlFileCommand,AvailableFontsCommand,ConvertDataFileCommand,DiffCommand,GenerateDiffSqlCommand,GenerateSimpleSqlCommand
-
フィールドの概要
フィールド -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明protected com.sqlapp.util.JsonConverterprotected com.sqlapp.util.YamlConverterprotected voidprotected voidprotected abstract voiddoRun()protected voidprotected voidprotected PrintStreamgetErr()com.sqlapp.util.ExceptionHandlerprotected voidprotected voidprotected voidprotected voidvoidrun()voidsetConsoleOutputLevel(ConsoleOutputLevel consoleOutputLevel) voidsetConvertHandler(ConvertHandler convertHandler) voidsetExceptionHandler(com.sqlapp.util.ExceptionHandler exceptionHandler)
-
フィールド詳細
-
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() -
initialize
protected void initialize() -
initializeContext
protected void initializeContext() -
doRun
protected abstract void doRun() -
debug
-
info
-
debug
-
info
-
error
-
error
-
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
-
setConsoleOutputLevel
-
getConvertHandler
- 戻り値:
- the convertHandler
-
getContext
- 戻り値:
- the context
-
setConvertHandler
- パラメータ:
convertHandler- the convertHandler to set
-