Package org.pentaho.di.trans
Class TransHopMeta
- java.lang.Object
-
- org.pentaho.di.base.BaseHopMeta<StepMeta>
-
- org.pentaho.di.trans.TransHopMeta
-
- All Implemented Interfaces:
Cloneable
,Comparable<TransHopMeta>
,org.pentaho.di.core.xml.XMLInterface
public class TransHopMeta extends BaseHopMeta<StepMeta> implements Comparable<TransHopMeta>
Defines a link between 2 steps in a transformation
-
-
Field Summary
Fields Modifier and Type Field Description static String
XML_FROM_TAG
static String
XML_HOP_TAG
static String
XML_TO_TAG
-
Constructor Summary
Constructors Constructor Description TransHopMeta()
TransHopMeta(StepMeta from, StepMeta to)
TransHopMeta(StepMeta from, StepMeta to, boolean en)
TransHopMeta(Node hopnode, List<StepMeta> steps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TransHopMeta obj)
Compare 2 hops.boolean
equals(Object obj)
void
flip()
StepMeta
getFromStep()
StepMeta
getToStep()
String
getXML()
int
hashCode()
void
setFromStep(StepMeta from)
void
setToStep(StepMeta to)
String
toString()
-
Methods inherited from class org.pentaho.di.base.BaseHopMeta
clone, getObjectId, hasChanged, isEnabled, isErrorHop, setChanged, setChanged, setEnabled, setEnabled, setErrorHop, setObjectId
-
-
-
-
Field Detail
-
XML_HOP_TAG
public static final String XML_HOP_TAG
- See Also:
- Constant Field Values
-
XML_FROM_TAG
public static final String XML_FROM_TAG
- See Also:
- Constant Field Values
-
XML_TO_TAG
public static final String XML_TO_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
setFromStep
public void setFromStep(StepMeta from)
-
setToStep
public void setToStep(StepMeta to)
-
getFromStep
public StepMeta getFromStep()
-
getToStep
public StepMeta getToStep()
-
compareTo
public int compareTo(TransHopMeta obj)
Compare 2 hops.- Specified by:
compareTo
in interfaceComparable<TransHopMeta>
-
flip
public void flip()
-
getXML
public String getXML()
- Specified by:
getXML
in interfaceorg.pentaho.di.core.xml.XMLInterface
-
-