Class SimpleBranchComponent
java.lang.Object
com.infoteria.asteria.flowengine2.flow.Component
com.infoteria.asteria.flowlibrary2.component.SimpleBranchComponent
- All Implemented Interfaces:
Cloneable
2分岐のコンポーネントの基底クラスです。
このクラスでは「Exception」というプロパティがあらかじめ登録されています。
このクラスでは「Exception」というプロパティがあらかじめ登録されています。
-
Field Summary
FieldsFields inherited from class com.infoteria.asteria.flowengine2.flow.Component
LOOP_CONTINUE, LOOP_END, LOOP_NOTHING, STATE_DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionSimpleBranchComponent(int inputTypes, int defaultExitTypes, int branchExitTypes) 入力可能なストリームフォーマットとそれぞれのコネクタで出力可能なストリームフォーマットを指定するコンストラクタ。 -
Method Summary
Modifier and TypeMethodDescriptionprotected OutputConnector「branch」Stateの出力コネクタを取得します。入力コネクタセットを取得します。getComponentExit(String state) stateに対応する出力コネクタセットを取得します。protected OutputConnector「default」Stateの出力コネクタを取得します。protected InputConnector入力コネクタを取得します。getState()出力Stateを返します。
このコンポーネントではsetOutputStreamメソッドの第一引数にtrueが設定された場合は「branch」を、 falseが設定された場合は「default」を返します。String[]このコンポーネントでは「default」と「branch」というふたつのStateを返します。protected voidsetOutputStream(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, getCustomClassLoader, getDataPath, getExecuteCount, getFlowlibPath, getFullName, getIgnoreThroughStream, getLicensePath, getMessage, getMessage, getMessage, getMessage, getMessageResource, getName, getProperty, getProperty, getPropertyCount, getResourceAsFile, getResourceAsStream, getStreamList, hasProperty, init, internalInit, isBreakPoint, loopPossibility, pluginCall, preClone, registerPluginCallReceiverClass, registerProperty, registerProperty, registPriperty, registProperty, registProperty, release, releaseComponentExit, resetMacro, rollback, setCustomClassLoader, setExceptionParam, term
-
Field Details
-
STATE_BRANCH
branchの出力State- See Also:
-
-
Constructor Details
-
SimpleBranchComponent
public SimpleBranchComponent(int inputTypes, int defaultExitTypes, int branchExitTypes) 入力可能なストリームフォーマットとそれぞれのコネクタで出力可能なストリームフォーマットを指定するコンストラクタ。- Parameters:
inputTypes- 入力可能ストリームフォーマット。StreamTypeクラスのシンボルを使用して設定します。defaultExitTypes- defaultコネクタで出力可能ストリームフォーマット。StreamTypeクラスのシンボルを使用して設定します。branchExitTypes- branchコネクタで出力可能ストリームフォーマット。StreamTypeクラスのシンボルを使用して設定します。
-
-
Method Details
-
getComponentEntrance
入力コネクタセットを取得します。- Specified by:
getComponentEntrancein classComponent
-
getComponentExit
stateに対応する出力コネクタセットを取得します。- Specified by:
getComponentExitin classComponent
-
getStateArray
このコンポーネントでは「default」と「branch」というふたつのStateを返します。- Specified by:
getStateArrayin classComponent
-
getState
出力Stateを返します。
このコンポーネントではsetOutputStreamメソッドの第一引数にtrueが設定された場合は「branch」を、 falseが設定された場合は「default」を返します。 -
setOutputStream
出力Stateと出力ストリームを設定します。- Parameters:
takeBranch- trueの場合は出力Stateは「branch」に、falseの場合は「default」になります。stream- 出力ストリーム- Throws:
StreamException
-
getInputConnector
入力コネクタを取得します。 -
getDefaultOutputConnector
「default」Stateの出力コネクタを取得します。 -
getBranchOutputConnector
「branch」Stateの出力コネクタを取得します。
-