T
- 定義情報の型public abstract class AbstractLoopStartElement<T extends Metadata> extends FlowElement<T> implements Controllable, FlowElementCloser
修飾子とタイプ | フィールドと説明 |
---|---|
static String |
LOOP_INDEX_NAME |
static String |
LOOP_ITEM_NAME |
context
修飾子 | コンストラクタと説明 |
---|---|
protected |
AbstractLoopStartElement(ElementContext context)
繰り返し開始要素を生成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected boolean |
checkCondition(LogicSession session)
繰り返し条件のチェックを行います。
|
protected boolean |
checkEndFlag(LogicSession session)
繰り返し終了要素から遷移してきたかどうかを判定します。
|
protected void |
clearEndFlag(LogicSession session) |
protected void |
clearVariables(LogicSession session)
指定された変数情報を初期化します。
|
void |
close()
終了処理を実行します。
|
protected jp.co.intra_mart.system.logic.flow.LoopController |
createLoopController(LogicSession session,
boolean endFlag)
ループ管理情報を生成します。
|
protected abstract jp.co.intra_mart.system.logic.flow.LoopItem |
createLoopItem(LogicSession session,
long index)
ループ情報を生成します。
|
String |
execute(LogicSession session)
処理を実行して次に実行する要素を取得します。
|
protected void |
executeEndEventHandle(LogicSession session)
繰り返し終了イベントを
LogicHandle へ送信します。 |
protected void |
executeMappingErrorEventHandle(LogicSession session,
LogicFlowElementDefinition definition,
Throwable throwable) |
protected void |
executeStartEventHandle(LogicSession session,
long index,
Object item)
繰り返しイベントを
LogicHandle へ送信します。 |
String[] |
getClearVariables() |
String |
getCondition() |
String |
getEndPoint() |
protected String |
getLoopEndExecuteId(LogicSession session)
ループ終了要素の次に実行される要素の実行IDを取得します。
|
protected <T> T |
getMappingData(LogicSession session) |
void |
setClearVariables(String[] clearVariables) |
void |
setCondition(String condition) |
void |
setEndPoint(String endPoint) |
getAlias, getExecuteId, setAlias
protected AbstractLoopStartElement(ElementContext context)
context
- コンテキストpublic String execute(LogicSession session) throws FlowExecutionException
Controllable
execute
インタフェース内 Controllable
session
- セッションFlowExecutionException
- 要素の実行に失敗した場合にスローされます。public void close()
FlowElementCloser
close
インタフェース内 FlowElementCloser
protected abstract jp.co.intra_mart.system.logic.flow.LoopItem createLoopItem(LogicSession session, long index) throws FlowExecutionException
session
- セッションindex
- ループ回数FlowExecutionException
- ループ情報の生成に失敗した場合にスローされます。protected boolean checkEndFlag(LogicSession session)
session
- セッションprotected void clearEndFlag(LogicSession session)
protected void clearVariables(LogicSession session)
session
- セッションprotected jp.co.intra_mart.system.logic.flow.LoopController createLoopController(LogicSession session, boolean endFlag) throws FlowExecutionException
session
- セッションendFlag
- 繰り返し終了要素から遷移した場合、trueFlowExecutionException
- ループ管理情報の生成に失敗した場合にスローされます。protected boolean checkCondition(LogicSession session) throws FlowExecutionException
session
- セッションFlowExecutionException
- 繰り返し条件の解析に失敗した場合にスローされます。protected <T> T getMappingData(LogicSession session) throws FlowExecutionException
protected void executeMappingErrorEventHandle(LogicSession session, LogicFlowElementDefinition definition, Throwable throwable)
protected String getLoopEndExecuteId(LogicSession session) throws FlowExecutionException
session
- セッションFlowExecutionException
- 実行IDの取得に失敗した場合にスローされます。protected void executeStartEventHandle(LogicSession session, long index, Object item)
LogicHandle
へ送信します。session
- セッションindex
- 繰り返し回数item
- 繰り返し要素protected void executeEndEventHandle(LogicSession session)
LogicHandle
へ送信します。session
- セッションpublic void setEndPoint(String endPoint)
public String getEndPoint()
public void setCondition(String condition)
public String getCondition()
public void setClearVariables(String[] clearVariables)
public String[] getClearVariables()
Copyright © 2012 NTT DATA INTRAMART CORPORATION