com.infoteria.asteria.flowengine2.execute
Class TestContext

java.lang.Object
  |
  +--com.infoteria.asteria.flowengine2.log.Logger
        |
        +--com.infoteria.asteria.flowengine2.execute.ExecuteContext
              |
              +--com.infoteria.asteria.flowengine2.execute.TestContext
All Implemented Interfaces:
Cloneable, com.infoteria.asteria.connection.ConnectionContext, com.infoteria.asteria.log.ILogger

public class TestContext
extends ExecuteContext

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


Fields inherited from class com.infoteria.asteria.flowengine2.execute.ExecuteContext
_connectionMap
 
Constructor Summary
TestContext(User user)
           
TestContext(User user, Component c)
           
 
Method Summary
 void debug(String m)
          デバッグログ出力
 void debugInfo(String m)
          デバッグ情報ログ出力
 void error(String m)
          エラーログ出力
 void fatal(String m)
          致命的エラーログ出力
 ConnectionEntry getConnectionEntry(String conType, String conName)
          TestContextからはgetConnectionメソッドは使用できません。
Connection情報を使用する場合はこのメソッドで取得される ConnectionEntryの情報をもとに独自にコネクションを生成してください。
 User getProjectOwner()
           
 void info(String m)
          情報ログ出力
 void warn(String m)
          警告ログ出力
 
Methods inherited from class com.infoteria.asteria.flowengine2.execute.ExecuteContext
addTransaction, canOtherServerRetry, commitConnection, debugInfo, debugInfo, debugInfo, debugInfo, debugInfo, debugInfo, debugInfo, debugInfo, flowExternalVariablesSetting, flowLogSetting, getBaseDirectory, getCheckPointDataFileDir, getCheckPointManager, getCheckPointStart, getCheckPointStatus, getConnection, getConnection, getConnectionTransaction, getConnectionTransaction, getCurrentException, getExternalVariables, getExternalVariablesMap, getFlowName, getFlowVariables, getIndependentMap, getMaxRetryCount, getParentContext, getParentException, getProjectName, getProjectVariables, getRetryCount, getRetryInterval, getSession, getSessionVariables, getStartTime, getStatusValue, getSystemVariables, getUser, isAutoRetry, isDebugInfoEnabled, isOriginalContext, isReRunContext, isTransaction, notifyRunning, rollbackConnection, setAutoRetry, setCheckPointDataFileDir, setMaxRetryCount, setOtherServerRetry, setRetryCount, setRetryInterval, setStartTime
 
Methods inherited from class 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface 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
 

Constructor Detail

TestContext

public TestContext(User user)

TestContext

public TestContext(User user,
                   Component c)
Method Detail

getProjectOwner

public User getProjectOwner()
Description copied from class: ExecuteContext
実行中のフローのプロジェクトオーナーを返します。
Overrides:
getProjectOwner in class ExecuteContext

getConnectionEntry

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

debugInfo

public void debugInfo(String m)
デバッグ情報ログ出力
Overrides:
debugInfo in class ExecuteContext

info

public void info(String m)
情報ログ出力
Overrides:
info in class ExecuteContext

warn

public void warn(String m)
警告ログ出力
Overrides:
warn in class ExecuteContext

error

public void error(String m)
エラーログ出力
Overrides:
error in class ExecuteContext

debug

public void debug(String m)
デバッグログ出力
Overrides:
debug in class ExecuteContext

fatal

public void fatal(String m)
致命的エラーログ出力
Overrides:
fatal in class ExecuteContext