com.infoteria.asteria.flowengine2.execute
クラス TestContext

java.lang.Object
  |
  +--com.infoteria.asteria.flowengine2.log.Logger
        |
        +--com.infoteria.asteria.flowengine2.execute.ExecuteContext
              |
              +--com.infoteria.asteria.flowengine2.execute.TestContext
すべての実装インタフェース:
Cloneable, com.infoteria.asteria.connection.ConnectionContext, com.infoteria.asteria.log.ILogger

public class TestContext
extends ExecuteContext

テスト実行時のコンテキスト ExecuteContextを継承していますが、ExecuteContextのすべてのメソッドが実行可能ではありません


コンストラクタの概要
TestContext(User user)
           
TestContext(User user, Component c)
           
 
メソッドの概要
 void debug(String m)
          デバッグログ出力
 void debugInfo(String m)
          デバッグ情報ログ出力
 void error(String m)
          エラーログ出力
 void fatal(String m)
          致命的エラーログ出力
 ConnectionEntry getConnectionEntry(String conType, String conName)
          TestContextからはgetConnectionメソッドは使用できません。
 User getProjectOwner()
           
 void info(String m)
          情報ログ出力
 void warn(String m)
          警告ログ出力
 
クラス com.infoteria.asteria.flowengine2.execute.ExecuteContext から継承したメソッド
addTransaction, commitConnection, debugInfo, debugInfo, debugInfo, debugInfo, debugInfo, debugInfo, debugInfo, debugInfo, getBaseDirectory, getConnection, getConnection, getConnectionTransaction, getConnectionTransaction, getCurrentException, getExternalVariables, getExternalVariablesMap, getFlowName, getFlowVariables, getIndependentMap, getParentContext, getParentException, getProjectName, getProjectVariables, getSessionVariables, getSystemVariables, getTransactionStr, getUser, isDebugInfoEnabled, isOriginalContext, isTransaction, rollbackConnection
 
クラス com.infoteria.asteria.flowengine2.log.Logger から継承したメソッド
debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, info, info, info, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isWarnEnabled, warn, warn, warn, warn, warn, warn, warn, warn
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース com.infoteria.asteria.log.ILogger から継承したメソッド
debug, debug, debug, debug, debug, error, error, error, error, error, fatal, fatal, fatal, fatal, fatal, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isWarnEnabled, warn, warn, warn, warn, warn
 

コンストラクタの詳細

TestContext

public TestContext(User user)

TestContext

public TestContext(User user,
                   Component c)
メソッドの詳細

getProjectOwner

public User getProjectOwner()
クラス ExecuteContext の記述:
実行中のフローのプロジェクトオーナーを返します。
オーバーライド:
クラス ExecuteContext 内の getProjectOwner

getConnectionEntry

public ConnectionEntry getConnectionEntry(String conType,
                                          String conName)
                                                                    throws FlowException
TestContextからはgetConnectionメソッドは使用できません。
Connection情報を使用する場合はこのメソッドで取得される ConnectionEntryの情報をもとに独自にコネクションを生成してください。

debugInfo

public void debugInfo(String m)
デバッグ情報ログ出力
オーバーライド:
クラス ExecuteContext 内の debugInfo

info

public void info(String m)
情報ログ出力
オーバーライド:
クラス ExecuteContext 内の info

warn

public void warn(String m)
警告ログ出力
オーバーライド:
クラス ExecuteContext 内の warn

error

public void error(String m)
エラーログ出力
オーバーライド:
クラス ExecuteContext 内の error

debug

public void debug(String m)
デバッグログ出力
オーバーライド:
クラス ExecuteContext 内の debug

fatal

public void fatal(String m)
致命的エラーログ出力
オーバーライド:
クラス ExecuteContext 内の fatal