|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.infoteria.asteria.flowengine2.flow.Component | +--com.infoteria.asteria.flowlibrary2.component.SimpleBranchComponent
2分岐のコンポーネントの基底クラスです。
このクラスでは「Exception」というプロパティがあらかじめ登録されています。
Field Summary | |
protected static java.lang.String |
STATE_BRANCH
branchの出力State |
Fields inherited from class com.infoteria.asteria.flowengine2.flow.Component |
LOOP_CONTINUE, LOOP_END, LOOP_NOTHING, STATE_DEFAULT |
Constructor Summary | |
SimpleBranchComponent(int inputTypes,
int defaultExitTypes,
int branchExitTypes)
入力可能なストリームフォーマットとそれぞれのコネクタで出力可能なストリームフォーマットを指定するコンストラクタ。 |
Method Summary | |
protected OutputConnector |
getBranchOutputConnector()
「branch」Stateの出力コネクタを取得します。 |
ComponentEntrance |
getComponentEntrance()
入力コネクタセットを取得します。 |
ComponentExit |
getComponentExit(java.lang.String state)
stateに対応する出力コネクタセットを取得します。 |
protected OutputConnector |
getDefaultOutputConnector()
「default」Stateの出力コネクタを取得します。 |
protected InputConnector |
getInputConnector()
入力コネクタを取得します。 |
java.lang.String |
getState()
出力Stateを返します。 このコンポーネントではsetOutputStreamメソッドの第一引数にtrueが設定された場合は「branch」を、 falseが設定された場合は「default」を返します。 |
java.lang.String[] |
getStateArray()
このコンポーネントでは「default」と「branch」というふたつのStateを返します。 |
protected void |
setOutputStream(boolean takeBranch,
StreamDataObject stream)
出力Stateと出力ストリームを設定します。 |
Methods inherited from class com.infoteria.asteria.flowengine2.flow.Component |
cancel, checkLicense, clone, commit, endFlow, endFlow, endLoop, execute, executeLoop, getCompiler, getComponentLibPath, getComponentName, getConfPath, getDataPath, getExecuteCount, getFlowlibPath, getFullName, getIgnoreThroughStream, getLicensePath, getMessage, getMessage, getMessage, getMessage, getMessageResource, getName, getProperty, getProperty, getPropertyCount, getResourceAsFile, getResourceAsStream, hasProperty, init, internalInit, isBreakPoint, loopPossibility, pluginCall, preClone, registerPluginCallReceiverClass, registerProperty, registerProperty, registPriperty, registProperty, registProperty, release, releaseComponentExit, resetMacro, rollback, setExceptionParam, term |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String STATE_BRANCH
Constructor Detail |
public SimpleBranchComponent(int inputTypes, int defaultExitTypes, int branchExitTypes)
inputTypes
- 入力可能ストリームフォーマット。StreamTypeクラスのシンボルを使用して設定します。defaultExitTypes
- defaultコネクタで出力可能ストリームフォーマット。StreamTypeクラスのシンボルを使用して設定します。branchExitTypes
- branchコネクタで出力可能ストリームフォーマット。StreamTypeクラスのシンボルを使用して設定します。Method Detail |
public ComponentEntrance getComponentEntrance()
getComponentEntrance
in class Component
public ComponentExit getComponentExit(java.lang.String state)
getComponentExit
in class Component
public java.lang.String[] getStateArray()
getStateArray
in class Component
public java.lang.String getState()
getState
in class Component
protected void setOutputStream(boolean takeBranch, StreamDataObject stream) throws StreamException
takeBranch
- trueの場合は出力Stateは「branch」に、falseの場合は「default」になります。stream
- 出力ストリームprotected InputConnector getInputConnector()
protected OutputConnector getDefaultOutputConnector()
protected OutputConnector getBranchOutputConnector()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |