feat2.config
クラス CommandConfig

java.lang.Object
  拡張feat2.config.Config
      拡張feat2.config.CommandConfig

public class CommandConfig
extends Config

コマンドの設定。

作成者:
SUGIMOTO Ken-ichi

コンストラクタの概要
CommandConfig()
           
 
メソッドの概要
 void addAction(ActionConfigBase action)
           
 void addException(ExceptionConfig exception)
           
 void addOutput(OutputConfig output)
          outputを追加する。
 ActionConfigBase getActionComponentConfig(java.lang.String name)
           
 ActionConfigBase[] getActions()
          アクションの実行順リストを返す。
 java.lang.Boolean getCreateSession()
           
 java.lang.String getElementName()
          設定ファイルの要素名を返す。
 java.lang.String getEncoding()
           
 ExceptionConfig getException(java.lang.Class exclass)
          指定の例外クラスをキャッチできる例外処理の設定オブジェクトを返す。
 Identifier getName()
          設定ノードのインスタンスの名前を返す。
 OutputConfig getOutputConfig(java.lang.String name)
           
 java.lang.String getScheme()
           
 void setCreateSession(java.lang.Boolean createSession)
           
 void setEncoding(java.lang.String encoding)
           
 void setName(Identifier name)
           
 void setScheme(java.lang.String scheme)
           
 boolean validate(FeatErrors errs)
           
 
クラス feat2.config.Config から継承したメソッド
getConfigPath, getFeatConfig, getFeatureConfig, getParent, setParent
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CommandConfig

public CommandConfig()
メソッドの詳細

getCreateSession

public java.lang.Boolean getCreateSession()

setCreateSession

public void setCreateSession(java.lang.Boolean createSession)

getEncoding

public java.lang.String getEncoding()

setEncoding

public void setEncoding(java.lang.String encoding)

getName

public Identifier getName()
クラス Config の記述:
設定ノードのインスタンスの名前を返す。

定義:
クラス Config 内の getName
戻り値:
名前が無い場合はnullを返す

setName

public void setName(Identifier name)

getScheme

public java.lang.String getScheme()
戻り値:

setScheme

public void setScheme(java.lang.String scheme)

addAction

public void addAction(ActionConfigBase action)

getActionComponentConfig

public ActionConfigBase getActionComponentConfig(java.lang.String name)

getActions

public ActionConfigBase[] getActions()
                              throws ConfigurationException
アクションの実行順リストを返す。

戻り値:
例外:
ConfigurationException

addException

public void addException(ExceptionConfig exception)

getException

public ExceptionConfig getException(java.lang.Class exclass)
指定の例外クラスをキャッチできる例外処理の設定オブジェクトを返す。

パラメータ:
exclass -
戻り値:
見つからなければnullを返す

addOutput

public void addOutput(OutputConfig output)
outputを追加する。

パラメータ:
output -

getOutputConfig

public OutputConfig getOutputConfig(java.lang.String name)

getElementName

public java.lang.String getElementName()
クラス Config の記述:
設定ファイルの要素名を返す。

定義:
クラス Config 内の getElementName

validate

public boolean validate(FeatErrors errs)
定義:
クラス Config 内の validate