Package org.pentaho.di.trans.step
Class StepIOMeta
- java.lang.Object
-
- org.pentaho.di.trans.step.StepIOMeta
-
- All Implemented Interfaces:
Cloneable,StepIOMetaInterface
public class StepIOMeta extends Object implements StepIOMetaInterface, Cloneable
-
-
Constructor Summary
Constructors Constructor Description StepIOMeta(boolean inputAcceptor, boolean outputProducer, boolean inputOptional, boolean sortedDataRequired, boolean inputDynamic, boolean outputDynamic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStream(StreamInterface stream)Add a stream to the steps I/O interfacevoidclearStreams()protected StepIOMetaclone()StreamInterfacefindInfoStream(StepMeta infoStep)StreamInterfacefindTargetStream(StepMeta targetStep)StringgetGeneralInfoDescription()StringgetGeneralTargetDescription()String[]getInfoStepnames()List<StreamInterface>getInfoStreams()String[]getTargetStepnames()List<StreamInterface>getTargetStreams()booleanisInputAcceptor()booleanisInputDynamic()booleanisInputOptional()booleanisOutputDynamic()booleanisOutputProducer()booleanisSortedDataRequired()voidsetGeneralInfoDescription(String generalInfoDescription)Set the general info stream descriptionvoidsetGeneralTargetDescription(String generalTargetDescription)Set the general target stream descriptionvoidsetInfoSteps(StepMeta[] infoSteps)Replace the info steps with the supplied source steps.voidsetInputAcceptor(boolean inputAcceptor)voidsetInputDynamic(boolean inputDynamic)voidsetInputOptional(boolean inputOptional)voidsetOutputDynamic(boolean outputDynamic)voidsetOutputProducer(boolean outputProducer)voidsetSortedDataRequired(boolean sortedDataRequired)
-
-
-
Method Detail
-
clone
protected StepIOMeta clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
isInputAcceptor
public boolean isInputAcceptor()
- Specified by:
isInputAcceptorin interfaceStepIOMetaInterface- Returns:
- the inputAcceptor
-
setInputAcceptor
public void setInputAcceptor(boolean inputAcceptor)
- Parameters:
inputAcceptor- the inputAcceptor to set
-
isOutputProducer
public boolean isOutputProducer()
- Specified by:
isOutputProducerin interfaceStepIOMetaInterface- Returns:
- the outputProducer
-
setOutputProducer
public void setOutputProducer(boolean outputProducer)
- Parameters:
outputProducer- the outputProducer to set
-
isInputOptional
public boolean isInputOptional()
- Specified by:
isInputOptionalin interfaceStepIOMetaInterface- Returns:
- the inputOptional
-
setInputOptional
public void setInputOptional(boolean inputOptional)
- Parameters:
inputOptional- the inputOptional to set
-
getInfoStreams
public List<StreamInterface> getInfoStreams()
- Specified by:
getInfoStreamsin interfaceStepIOMetaInterface- Returns:
- the info streams of this step. Important: Modifying this list does not have any effect on the Steps IO metadata.
-
getTargetStreams
public List<StreamInterface> getTargetStreams()
- Specified by:
getTargetStreamsin interfaceStepIOMetaInterface- Returns:
- the target streams of this step. Important: Modifying this list does not have any effect on the Steps IO metadata.
-
isSortedDataRequired
public boolean isSortedDataRequired()
- Specified by:
isSortedDataRequiredin interfaceStepIOMetaInterface- Returns:
- the sortedDataRequired
-
setSortedDataRequired
public void setSortedDataRequired(boolean sortedDataRequired)
- Parameters:
sortedDataRequired- the sortedDataRequired to set
-
addStream
public void addStream(StreamInterface stream)
Description copied from interface:StepIOMetaInterfaceAdd a stream to the steps I/O interface- Specified by:
addStreamin interfaceStepIOMetaInterface- Parameters:
stream- The stream to add
-
getInfoStepnames
public String[] getInfoStepnames()
- Specified by:
getInfoStepnamesin interfaceStepIOMetaInterface
-
getTargetStepnames
public String[] getTargetStepnames()
- Specified by:
getTargetStepnamesin interfaceStepIOMetaInterface
-
setInfoSteps
public void setInfoSteps(StepMeta[] infoSteps)
Replace the info steps with the supplied source steps.- Specified by:
setInfoStepsin interfaceStepIOMetaInterface- Parameters:
infoSteps-
-
getGeneralInfoDescription
public String getGeneralInfoDescription()
- Specified by:
getGeneralInfoDescriptionin interfaceStepIOMetaInterface- Returns:
- the generalInfoDescription
-
setGeneralInfoDescription
public void setGeneralInfoDescription(String generalInfoDescription)
Description copied from interface:StepIOMetaInterfaceSet the general info stream description- Specified by:
setGeneralInfoDescriptionin interfaceStepIOMetaInterface- Parameters:
generalInfoDescription- the generalInfoDescription to set
-
getGeneralTargetDescription
public String getGeneralTargetDescription()
- Specified by:
getGeneralTargetDescriptionin interfaceStepIOMetaInterface- Returns:
- the generalTargetDescription
-
setGeneralTargetDescription
public void setGeneralTargetDescription(String generalTargetDescription)
Description copied from interface:StepIOMetaInterfaceSet the general target stream description- Specified by:
setGeneralTargetDescriptionin interfaceStepIOMetaInterface- Parameters:
generalTargetDescription- the generalTargetDescription to set
-
clearStreams
public void clearStreams()
-
isOutputDynamic
public boolean isOutputDynamic()
- Specified by:
isOutputDynamicin interfaceStepIOMetaInterface- Returns:
- the outputDynamic
-
setOutputDynamic
public void setOutputDynamic(boolean outputDynamic)
- Specified by:
setOutputDynamicin interfaceStepIOMetaInterface- Parameters:
outputDynamic- the outputDynamic to set
-
isInputDynamic
public boolean isInputDynamic()
- Specified by:
isInputDynamicin interfaceStepIOMetaInterface- Returns:
- the inputDynamic
-
setInputDynamic
public void setInputDynamic(boolean inputDynamic)
- Specified by:
setInputDynamicin interfaceStepIOMetaInterface- Parameters:
inputDynamic- the inputDynamic to set
-
findTargetStream
public StreamInterface findTargetStream(StepMeta targetStep)
- Specified by:
findTargetStreamin interfaceStepIOMetaInterface
-
findInfoStream
public StreamInterface findInfoStream(StepMeta infoStep)
- Specified by:
findInfoStreamin interfaceStepIOMetaInterface
-
-