Class SimpleComponent
java.lang.Object
com.infoteria.asteria.flowengine2.flow.Component
com.infoteria.asteria.flowlibrary2.component.SimpleComponent
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
MapperComponent,MultiConnectorComponent
入力コネクタ1本、出力コネクタ1本のシンプルなコンポーネントの基底クラスです。
このクラスでは「Exception」というプロパティがあらかじめ登録されています。
このクラスでは「Exception」というプロパティがあらかじめ登録されています。
-
Field Summary
Fields inherited from class com.infoteria.asteria.flowengine2.flow.Component
LOOP_CONTINUE, LOOP_END, LOOP_NOTHING, STATE_DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionコンストラクタSimpleComponent(int inputTypes, int outputTypes) 入力可能なストリームフォーマットと出力可能なストリームフォーマットを指定するコンストラクタ。 -
Method Summary
Modifier and TypeMethodDescriptionprotected InputConnector入力コネクタを取得します。protected OutputConnector出力コネクタを取得します。protected void入力コネクタのストリームをそのまま出力コネクタにセットします
入力コネクタが複数のリンクを受け入れる場合にこのメソッドを呼び出すとDeveloperExceptionが発生します。
入力ストリームがコンテナの場合も、 isExpandContainerの影響を受けずにそのままセットされます。protected voidsetOutputStream(StreamDataObject stream) setOutputStream(stream, true)と同じです。protected voidsetOutputStream(StreamDataObject stream, boolean isSetProperties) 出力ストリームを設定します。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, getState, getStreamList, hasProperty, init, internalInit, isBreakPoint, loopPossibility, pluginCall, preClone, registerPluginCallReceiverClass, registerProperty, registerProperty, registPriperty, registProperty, registProperty, release, releaseComponentExit, resetMacro, rollback, setCustomClassLoader, setExceptionParam, term
-
Constructor Details
-
SimpleComponent
public SimpleComponent()コンストラクタ -
SimpleComponent
public SimpleComponent(int inputTypes, int outputTypes) 入力可能なストリームフォーマットと出力可能なストリームフォーマットを指定するコンストラクタ。- Parameters:
inputTypes- 入力可能ストリームフォーマット。StreamTypeクラスのシンボルを使用して設定します。outputTypes- 出力可能ストリームフォーマット。StreamTypeクラスのシンボルを使用して設定します。
-
-
Method Details
-
getInputConnector
入力コネクタを取得します。 -
getOutputConnector
出力コネクタを取得します。 -
passStream
入力コネクタのストリームをそのまま出力コネクタにセットします
入力コネクタが複数のリンクを受け入れる場合にこのメソッドを呼び出すとDeveloperExceptionが発生します。
入力ストリームがコンテナの場合も、 isExpandContainerの影響を受けずにそのままセットされます。- Throws:
StreamException
-
setOutputStream
setOutputStream(stream, true)と同じです。- Throws:
StreamException
-
setOutputStream
protected void setOutputStream(StreamDataObject stream, boolean isSetProperties) throws StreamException 出力ストリームを設定します。- Parameters:
stream- 設定するストリームisSetProperties- trueの場合、streamに対してStreamFactory#setPropertiesを適用します。- Throws:
StreamException
-