Interface FlowsFactory
- All Known Implementing Classes:
DriverRunnerFlowsFactory
public interface FlowsFactory
Strategy creates component flows according component type (either
ComponentFamilyMeta.ProcessorMeta or ComponentFamilyMeta.PartitionMapperMeta)-
Method Summary
Modifier and TypeMethodDescriptionstatic FlowsFactoryget(ComponentFamilyMeta.BaseMeta<? extends org.talend.sdk.component.runtime.base.Lifecycle> meta) Creates appropriate factory accordingComponentFamilyMeta.BaseMetatype (eitherComponentFamilyMeta.ProcessorMetaorComponentFamilyMeta.PartitionMapperMeta)Returns aCollectionof input flows names of a ComponentReturns aCollectionof output flows names of a Component
-
Method Details
-
get
static FlowsFactory get(ComponentFamilyMeta.BaseMeta<? extends org.talend.sdk.component.runtime.base.Lifecycle> meta) Creates appropriate factory accordingComponentFamilyMeta.BaseMetatype (eitherComponentFamilyMeta.ProcessorMetaorComponentFamilyMeta.PartitionMapperMeta)- Parameters:
meta- the meta instance to use as reference to find the right factory.- Returns:
- the factory to use to create a flow for this meta.
-
getInputFlows
Returns aCollectionof input flows names of a Component- Returns:
- input flows names collection
-
getOutputFlows
Returns aCollectionof output flows names of a Component- Returns:
- output flows names collection
-