|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.infoteria.asteria.flowengine2.thinclient.AsteriaClient | +--com.infoteria.asteria.flowengine2.thinclient.FlowExecuteClient
外部のJavaプログラムからフローを実行するためのクライアントクラスです。
Fields inherited from class com.infoteria.asteria.flowengine2.thinclient.AsteriaClient |
_sessionId |
Constructor Summary | |
FlowExecuteClient(AsteriaClient client)
別のASTERIAクライアントから接続先情報とログイン状態を引き継いでクライアントを作成します。 |
|
FlowExecuteClient(String url)
ASTERIAサーバーのURLを指定してクライアントを作成します。 特に変更していない場合、URLは「http://<SERVERNAME>:21381/flow-rpc」となります。 |
|
FlowExecuteClient(String server,
int port)
ASTERIAサーバーのサーバー名とポート番号を指定してクライアントを作成します。 |
Method Summary | |
FlowResponse |
execute(FlowRequest request)
フローを実行します。 実行を開始したら、その終了を待って実行結果が返り値となります。 |
String |
post(FlowRequest request)
フローの実行をポストします。 実行をリクエストした後は実行の終了を待たずに制御が返ります。 |
String |
rerun(String yyyyMMdd,
String requestId)
異常終了しているチェックポイントフローのリクエストを、異常終了する直前のチェックポイントから再実行します。 リクエストの実行を開始すると、実行の終了を待たずに制御が返ります。 |
Methods inherited from class com.infoteria.asteria.flowengine2.thinclient.AsteriaClient |
login, login, logout, releaseSession |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FlowExecuteClient(String url) throws MalformedURLException
public FlowExecuteClient(String server, int port) throws MalformedURLException
server
- サーバー名またはIPアドレスport
- ポート番号public FlowExecuteClient(AsteriaClient client)
client
- ログイン済みのAsteriaClientMethod Detail |
public String post(FlowRequest request) throws FlowClientException
request
- 実行リクエストpublic FlowResponse execute(FlowRequest request) throws FlowClientException
request
- 実行リクエストpublic String rerun(String yyyyMMdd, String requestId) throws FlowClientException
yyyyMMdd
- 再実行するリクエストの開始日付(YYYYMMDD形式)requestId
- 再実行するリクエストのリクエストID
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |