org.pentaho.di.trans
Class TransHopMeta
java.lang.Object
org.pentaho.di.trans.TransHopMeta
- All Implemented Interfaces:
- Cloneable, Comparable<TransHopMeta>, XMLInterface
public class TransHopMeta
- extends Object
- implements Cloneable, XMLInterface, Comparable<TransHopMeta>
Defines a link between 2 steps in a transformation
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
split
public boolean split
TransHopMeta
public TransHopMeta(StepMeta from,
StepMeta to,
boolean en)
TransHopMeta
public TransHopMeta(StepMeta from,
StepMeta to)
TransHopMeta
public TransHopMeta()
TransHopMeta
public TransHopMeta(Node hopnode,
List<StepMeta> steps)
throws KettleXMLException
- Throws:
KettleXMLException
setFromStep
public void setFromStep(StepMeta from)
setToStep
public void setToStep(StepMeta to)
getFromStep
public StepMeta getFromStep()
getToStep
public StepMeta getToStep()
clone
public Object clone()
- Overrides:
clone
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
compareTo
public int compareTo(TransHopMeta obj)
- Compare 2 hops.
- Specified by:
compareTo
in interface Comparable<TransHopMeta>
getObjectId
public ObjectId getObjectId()
setObjectId
public void setObjectId(ObjectId id)
setChanged
public void setChanged()
setChanged
public void setChanged(boolean ch)
hasChanged
public boolean hasChanged()
setEnabled
public void setEnabled()
setEnabled
public void setEnabled(boolean en)
isEnabled
public boolean isEnabled()
flip
public void flip()
toString
public String toString()
- Overrides:
toString
in class Object
getXML
public String getXML()
- Description copied from interface:
XMLInterface
- Describes the Object implementing this interface as XML
- Specified by:
getXML
in interface XMLInterface
- Returns:
- the XML string for this object