|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wiperdog.jobmanager.internal.AbstractOperator
public abstract class AbstractOperator
| Field Summary | |
|---|---|
protected String |
id
|
protected org.apache.log4j.Logger |
logger
|
protected List<Flow> |
outFlowList
|
protected List<Boolean> |
switchboard
|
protected List<Flow> |
upperConnectionList
|
| Fields inherited from interface org.wiperdog.jobmanager.Node |
|---|
KEY_JOBEXECUTIONFAILED |
| Constructor Summary | |
|---|---|
protected |
AbstractOperator()
|
protected |
AbstractOperator(String name)
|
| Method Summary | |
|---|---|
void |
addOutFlow(Flow flow)
出力先の追加 |
protected abstract boolean |
chkSwitchBoard()
|
void |
connectUpperFlow(int index,
Predecessor f)
先行ノードの 指定位置の後続ノードを自ノードにする。 |
void |
connectUpperFlow(Predecessor f)
先行ノードに自ノードを追加する |
void |
deleteOutFlow(Flow flow)
出力先の削除 |
void |
disconnectUpperFlow(int index,
Predecessor p)
先行ノードの 指定位置から 自ノードへの接続を削除 |
void |
disconnectUpperFlow(Predecessor p)
先行ノードから自ノードへの接続を削除 |
protected void |
flowOut(boolean v)
全出力先に通知 |
String |
getId()
|
String |
getName()
名前を取得 |
Flow[] |
getOutFlows()
出力先一覧を取得 |
boolean[] |
getTValues()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.wiperdog.jobmanager.Node |
|---|
getPValue |
| Field Detail |
|---|
protected final String id
protected final List<Flow> outFlowList
protected final List<Flow> upperConnectionList
protected final List<Boolean> switchboard
protected final org.apache.log4j.Logger logger
| Constructor Detail |
|---|
protected AbstractOperator()
protected AbstractOperator(String name)
| Method Detail |
|---|
public boolean[] getTValues()
getTValues in interface Operatorpublic String getName()
Node
getName in interface Nodepublic Flow[] getOutFlows()
Predecessor
getOutFlows in interface Predecessorpublic String toString()
toString in class Objectprotected abstract boolean chkSwitchBoard()
protected void flowOut(boolean v)
v -
public void addOutFlow(Flow flow)
throws ConditionBoardException
addOutFlow in interface Predecessorflow - 下流要素のFlowインタフェース
ConditionBoardException
public void deleteOutFlow(Flow flow)
throws ConditionBoardException
deleteOutFlow in interface Predecessorflow - 下流要素のFlowインタフェース
ConditionBoardException
public void connectUpperFlow(Predecessor f)
throws ConditionBoardException
Follower
connectUpperFlow in interface Followerf - 先行ノード
ConditionBoardException
public void connectUpperFlow(int index,
Predecessor f)
throws ConditionBoardException
MultiFollower
connectUpperFlow in interface MultiFollowerindex - 位置f - 先行ノード
ConditionBoardException
public void disconnectUpperFlow(int index,
Predecessor p)
throws ConditionBoardException
MultiFollower
disconnectUpperFlow in interface MultiFollowerConditionBoardException
public void disconnectUpperFlow(Predecessor p)
throws ConditionBoardException
Follower
disconnectUpperFlow in interface FollowerConditionBoardExceptionpublic String getId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||