|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.infoteria.asteria.communication.client.AsteriaClientRest
|
+--com.infoteria.asteria.communication.client.AsteriaSessionClientRest
|
+--com.infoteria.asteria.flowengine2.client.FlowExecuteClientRest
外部のJavaプログラムからフローを実行するためのクライアントクラスです。
| Fields inherited from class com.infoteria.asteria.communication.client.AsteriaClientRest |
_callHandler |
| Constructor Summary | |
FlowExecuteClientRest(com.infoteria.asteria.communication.client.AsteriaSessionClientRest client)
他のclientのセッション(ログイン状態)を引き継いでクライアントを作成します。 |
|
FlowExecuteClientRest(com.infoteria.asteria.communication.client.CallHandlerInterface callHandler)
|
|
| Method Summary | |
FlowResponse |
execute(FlowRequest request)
フローを実行します。 実行を開始したら、その終了を待って実行結果が返り値となります。 |
com.infoteria.asteria.communication.client.CallHandlerInterface.ContextType |
getContextType()
|
java.lang.String |
killFlow(java.lang.String requestId)
killFlow(requestId, 5)と同じです。 |
java.lang.String |
killFlow(java.lang.String requestId,
int timeout)
リクエストIDで指定された実行中のフローを強制終了します。 強制終了が指定のタイムアウトまでに終わらなかった場合(その時間内にひとつのコンポーネントから 次のコンポーネントに制御が移ることがなかった場合)はExceptionとなります。 timeout=0の場合はタイムアウトせずに処理が終了するまで待ち続けます。 timeout<0の場合はタイムアウト値としてリクエストしたフローのTimeoutプロパティの値が使用されます。 |
java.lang.String |
login(java.lang.String username,
Password password,
long lifetime)
ログインします。 |
java.lang.String |
login(User user,
long lifetime)
ログインします。 |
boolean |
logout()
ログアウトします。 |
java.lang.String |
post(FlowRequest request)
フローの実行をポストします。 実行をリクエストした後は実行の終了を待たずに制御が返ります。 |
java.lang.String |
postDebugRequest(FlowRequest request)
フローのデバッグを予約します。 |
boolean |
releaseSession(java.lang.String sessionid)
サーバからセッションを削除します。 |
java.lang.String |
rerun(java.lang.String yyyyMMdd,
java.lang.String requestId)
チェックポイントを実行します。 実行を開始したら、再実行したリクエストのリクエストIDが返り値となります。 |
| Methods inherited from class com.infoteria.asteria.communication.client.AsteriaSessionClientRest |
authenticate, authenticate, checkLogin, getLicenseInfo, getLoginUser, getPassword, getProductVersion, getRetryHandler, getSessionId, getUserName, invokeMethod, invokeMethod, invokeMethodNotLoggedIn, invokeMethodNotLoggedIn, isLoggedIn, isSessionAlived, login, reconnect, setPassword, setRetryHandler, setUserName |
| Methods inherited from class com.infoteria.asteria.communication.client.AsteriaClientRest |
getCallHandler, invokeMethod, invokeMethod, setCallHandler |
| 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.flowengine2.client.ExecuteClient |
post, removeBreakInfo, resume, resume, setBreakInfo, showRequest, showRequest, step, step, stepOut, stepOut, stepOver, stepOver, suspend, suspend |
| Constructor Detail |
public FlowExecuteClientRest(com.infoteria.asteria.communication.client.CallHandlerInterface callHandler)
public FlowExecuteClientRest(com.infoteria.asteria.communication.client.AsteriaSessionClientRest client)
| Method Detail |
public com.infoteria.asteria.communication.client.CallHandlerInterface.ContextType getContextType()
getContextType in class com.infoteria.asteria.communication.client.AsteriaSessionClientRest
public java.lang.String post(FlowRequest request)
throws FlowClientException
post in interface com.infoteria.asteria.flowengine2.client.ExecuteClientrequest - 実行リクエスト
public java.lang.String postDebugRequest(FlowRequest request)
throws FlowClientException
request - 実行リクエスト
public FlowResponse execute(FlowRequest request)
throws FlowClientException
execute in interface com.infoteria.asteria.flowengine2.client.ExecuteClientrequest - 実行リクエスト
public java.lang.String login(java.lang.String username,
Password password,
long lifetime)
throws FlowClientException
login in interface com.infoteria.asteria.flowengine2.client.ExecuteClientlogin in class com.infoteria.asteria.communication.client.AsteriaSessionClientRestusername - ドメインからのフルユーザ名password - パスワードlifetime - セッションライフタイム
public java.lang.String login(User user,
long lifetime)
throws FlowClientException
login in interface com.infoteria.asteria.flowengine2.client.ExecuteClientlogin in class com.infoteria.asteria.communication.client.AsteriaSessionClientRestuser - Userオブジェクトlifetime - セッションライフタイム
public boolean logout()
throws FlowClientException
logout in interface com.infoteria.asteria.flowengine2.client.ExecuteClientlogout in class com.infoteria.asteria.communication.client.AsteriaSessionClientRest
public boolean releaseSession(java.lang.String sessionid)
throws FlowClientException
releaseSession in interface com.infoteria.asteria.flowengine2.client.ExecuteClientreleaseSession in class com.infoteria.asteria.communication.client.AsteriaSessionClientRestsessionid - セッションID
public java.lang.String killFlow(java.lang.String requestId)
throws FlowClientException
killFlow in interface com.infoteria.asteria.flowengine2.client.ExecuteClient
public java.lang.String killFlow(java.lang.String requestId,
int timeout)
throws FlowClientException
killFlow in interface com.infoteria.asteria.flowengine2.client.ExecuteClientrequestId - リクエストID
public java.lang.String rerun(java.lang.String yyyyMMdd,
java.lang.String requestId)
throws FlowClientException
rerun in interface com.infoteria.asteria.flowengine2.client.ExecuteClientyyyyMMdd - 年月日requestId - リクエストID
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||