Package org.pentaho.di.trans.step
Class StepIOMeta
java.lang.Object
org.pentaho.di.trans.step.StepIOMeta
- All Implemented Interfaces:
Cloneable
,StepIOMetaInterface
-
Constructor Summary
ConstructorDescriptionStepIOMeta
(boolean inputAcceptor, boolean outputProducer, boolean inputOptional, boolean sortedDataRequired, boolean inputDynamic, boolean outputDynamic) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addStream
(StreamInterface stream) Add a stream to the steps I/O interfacevoid
protected StepIOMeta
clone()
findInfoStream
(StepMeta infoStep) findTargetStream
(StepMeta targetStep) String[]
String[]
boolean
boolean
boolean
boolean
boolean
boolean
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)
-
Constructor Details
-
StepIOMeta
public StepIOMeta(boolean inputAcceptor, boolean outputProducer, boolean inputOptional, boolean sortedDataRequired, boolean inputDynamic, boolean outputDynamic) - Parameters:
inputAcceptor
-outputProducer
-
-
-
Method Details
-
clone
- 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
- 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
- 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
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
- Specified by:
getInfoStepnames
in interfaceStepIOMetaInterface
-
getTargetStepnames
- Specified by:
getTargetStepnames
in interfaceStepIOMetaInterface
-
setInfoSteps
Replace the info steps with the supplied source steps.- Specified by:
setInfoSteps
in interfaceStepIOMetaInterface
- Parameters:
infoSteps
-
-
getGeneralInfoDescription
- Specified by:
getGeneralInfoDescription
in interfaceStepIOMetaInterface
- Returns:
- the generalInfoDescription
-
setGeneralInfoDescription
Description copied from interface:StepIOMetaInterface
Set the general info stream description- Specified by:
setGeneralInfoDescription
in interfaceStepIOMetaInterface
- Parameters:
generalInfoDescription
- the generalInfoDescription to set
-
getGeneralTargetDescription
- Specified by:
getGeneralTargetDescription
in interfaceStepIOMetaInterface
- Returns:
- the generalTargetDescription
-
setGeneralTargetDescription
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
- Specified by:
findTargetStream
in interfaceStepIOMetaInterface
-
findInfoStream
- Specified by:
findInfoStream
in interfaceStepIOMetaInterface
-