クラス AbstractCommand
- java.lang.Object
-
- com.sqlapp.data.db.command.AbstractCommand
-
- すべての実装されたインタフェース:
java.lang.Runnable
- 直系の既知のサブクラス:
AbstractDataSourceCommand,AbstractSchemaFileCommand,AddSqlFileCommand,AvailableFontsCommand,ConvertDataFileCommand,DiffCommand,GenerateDiffSqlCommand,GenerateSimpleSqlCommand
public abstract class AbstractCommand extends java.lang.Object implements java.lang.Runnable
-
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 protected static org.apache.logging.log4j.Loggerlogger
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 AbstractCommand()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド concreteメソッド 修飾子とタイプ メソッド 説明 protected com.sqlapp.util.JsonConvertercreateJsonConverter()protected com.sqlapp.util.YamlConvertercreateYamlConverter()protected abstract voiddoRun()java.util.Map<java.lang.String,java.lang.Object>getContext()ConvertHandlergetConvertHandler()protected java.io.PrintStreamgetErr()com.sqlapp.util.ExceptionHandlergetExceptionHandler()protected voidinitialize()protected voidinitializeContext()protected voidprintln(java.lang.Object obj)voidrun()voidsetConvertHandler(ConvertHandler convertHandler)voidsetExceptionHandler(com.sqlapp.util.ExceptionHandler exceptionHandler)
-
-
-
メソッドの詳細
-
createJsonConverter
protected com.sqlapp.util.JsonConverter createJsonConverter()
-
createYamlConverter
protected com.sqlapp.util.YamlConverter createYamlConverter()
-
run
public void run()
- 定義:
runインタフェース内java.lang.Runnable
-
initialize
protected void initialize()
-
initializeContext
protected void initializeContext()
-
doRun
protected abstract void doRun()
-
println
protected void println(java.lang.Object obj)
-
getErr
protected java.io.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
-
getConvertHandler
public ConvertHandler getConvertHandler()
- 戻り値:
- the convertHandler
-
getContext
public java.util.Map<java.lang.String,java.lang.Object> getContext()
- 戻り値:
- the context
-
setConvertHandler
public void setConvertHandler(ConvertHandler convertHandler)
- パラメータ:
convertHandler- the convertHandler to set
-
-