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 void
addStream(StreamInterface stream)
Add a stream to the steps I/O interfacevoid
clearStreams()
protected StepIOMeta
clone()
StreamInterface
findInfoStream(StepMeta infoStep)
StreamInterface
findTargetStream(StepMeta targetStep)
String
getGeneralInfoDescription()
String
getGeneralTargetDescription()
String[]
getInfoStepnames()
List<StreamInterface>
getInfoStreams()
String[]
getTargetStepnames()
List<StreamInterface>
getTargetStreams()
boolean
isInputAcceptor()
boolean
isInputDynamic()
boolean
isInputOptional()
boolean
isOutputDynamic()
boolean
isOutputProducer()
boolean
isSortedDataRequired()
void
setGeneralInfoDescription(String generalInfoDescription)
Set the general info stream descriptionvoid
setGeneralTargetDescription(String generalTargetDescription)
Set the general target stream descriptionvoid
setInfoSteps(StepMeta[] infoSteps)
Replace the info steps with the supplied source steps.void
setInputAcceptor(boolean inputAcceptor)
void
setInputDynamic(boolean inputDynamic)
void
setInputOptional(boolean inputOptional)
void
setOutputDynamic(boolean outputDynamic)
void
setOutputProducer(boolean outputProducer)
void
setSortedDataRequired(boolean sortedDataRequired)
-
-
-
Method Detail
-
clone
protected StepIOMeta clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
isInputAcceptor
public boolean isInputAcceptor()
- Specified by:
isInputAcceptor
in interfaceStepIOMetaInterface
- Returns:
- the inputAcceptor
-
setInputAcceptor
public void setInputAcceptor(boolean inputAcceptor)
- Parameters:
inputAcceptor
- the inputAcceptor to set
-
isOutputProducer
public boolean isOutputProducer()
- Specified by:
isOutputProducer
in interfaceStepIOMetaInterface
- Returns:
- the outputProducer
-
setOutputProducer
public void setOutputProducer(boolean outputProducer)
- Parameters:
outputProducer
- the outputProducer to set
-
isInputOptional
public boolean isInputOptional()
- Specified by:
isInputOptional
in interfaceStepIOMetaInterface
- Returns:
- the inputOptional
-
setInputOptional
public void setInputOptional(boolean inputOptional)
- Parameters:
inputOptional
- the inputOptional to set
-
getInfoStreams
public List<StreamInterface> getInfoStreams()
- Specified by:
getInfoStreams
in 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:
getTargetStreams
in 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:
isSortedDataRequired
in 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:StepIOMetaInterface
Add a stream to the steps I/O interface- Specified by:
addStream
in interfaceStepIOMetaInterface
- Parameters:
stream
- The stream to add
-
getInfoStepnames
public String[] getInfoStepnames()
- Specified by:
getInfoStepnames
in interfaceStepIOMetaInterface
-
getTargetStepnames
public String[] getTargetStepnames()
- Specified by:
getTargetStepnames
in interfaceStepIOMetaInterface
-
setInfoSteps
public void setInfoSteps(StepMeta[] infoSteps)
Replace the info steps with the supplied source steps.- Specified by:
setInfoSteps
in interfaceStepIOMetaInterface
- Parameters:
infoSteps
-
-
getGeneralInfoDescription
public String getGeneralInfoDescription()
- Specified by:
getGeneralInfoDescription
in interfaceStepIOMetaInterface
- Returns:
- the generalInfoDescription
-
setGeneralInfoDescription
public void setGeneralInfoDescription(String generalInfoDescription)
Description copied from interface:StepIOMetaInterface
Set the general info stream description- Specified by:
setGeneralInfoDescription
in interfaceStepIOMetaInterface
- Parameters:
generalInfoDescription
- the generalInfoDescription to set
-
getGeneralTargetDescription
public String getGeneralTargetDescription()
- Specified by:
getGeneralTargetDescription
in interfaceStepIOMetaInterface
- Returns:
- the generalTargetDescription
-
setGeneralTargetDescription
public void setGeneralTargetDescription(String generalTargetDescription)
Description copied from interface:StepIOMetaInterface
Set the general target stream description- Specified by:
setGeneralTargetDescription
in interfaceStepIOMetaInterface
- Parameters:
generalTargetDescription
- the generalTargetDescription to set
-
clearStreams
public void clearStreams()
-
isOutputDynamic
public boolean isOutputDynamic()
- Specified by:
isOutputDynamic
in interfaceStepIOMetaInterface
- Returns:
- the outputDynamic
-
setOutputDynamic
public void setOutputDynamic(boolean outputDynamic)
- Specified by:
setOutputDynamic
in interfaceStepIOMetaInterface
- Parameters:
outputDynamic
- the outputDynamic to set
-
isInputDynamic
public boolean isInputDynamic()
- Specified by:
isInputDynamic
in interfaceStepIOMetaInterface
- Returns:
- the inputDynamic
-
setInputDynamic
public void setInputDynamic(boolean inputDynamic)
- Specified by:
setInputDynamic
in interfaceStepIOMetaInterface
- Parameters:
inputDynamic
- the inputDynamic to set
-
findTargetStream
public StreamInterface findTargetStream(StepMeta targetStep)
- Specified by:
findTargetStream
in interfaceStepIOMetaInterface
-
findInfoStream
public StreamInterface findInfoStream(StepMeta infoStep)
- Specified by:
findInfoStream
in interfaceStepIOMetaInterface
-
-