org.pentaho.di.job.entry
Class JobEntryCopy
java.lang.Object
org.pentaho.di.job.entry.JobEntryCopy
- All Implemented Interfaces:
- Cloneable, ChangedFlagInterface, GUIPositionInterface, XMLInterface
public class JobEntryCopy
- extends Object
- implements Cloneable, XMLInterface, GUIPositionInterface, ChangedFlagInterface
This class describes the fact that a single JobEntry can be used multiple
times in the same Job. Therefor it contains a link to a JobEntry, a position,
a number, etc.
- Since:
- 01-10-2003
- Author:
- Matt
JobEntryCopy
public JobEntryCopy()
JobEntryCopy
public JobEntryCopy(JobEntryInterface entry)
JobEntryCopy
public JobEntryCopy(Node entrynode,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep)
throws KettleXMLException
- Throws:
KettleXMLException
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
clear
public void clear()
clone
public Object clone()
- Overrides:
clone
in class Object
replaceMeta
public void replaceMeta(JobEntryCopy jobEntryCopy)
clone_deep
public Object clone_deep()
setObjectId
public void setObjectId(ObjectId id)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getObjectId
public ObjectId getObjectId()
setEntry
public void setEntry(JobEntryInterface je)
getEntry
public JobEntryInterface getEntry()
getTypeDesc
public String getTypeDesc()
- Returns:
- entry in JobEntryInterface.typeCode[] for native jobs,
entry.getTypeCode() for plugins
setLocation
public void setLocation(int x,
int y)
- Specified by:
setLocation
in interface GUIPositionInterface
setLocation
public void setLocation(Point loc)
- Specified by:
setLocation
in interface GUIPositionInterface
getLocation
public Point getLocation()
- Specified by:
getLocation
in interface GUIPositionInterface
setChanged
public void setChanged()
- Specified by:
setChanged
in interface ChangedFlagInterface
setChanged
public void setChanged(boolean ch)
- Specified by:
setChanged
in interface ChangedFlagInterface
clearChanged
public void clearChanged()
- Specified by:
clearChanged
in interface ChangedFlagInterface
hasChanged
public boolean hasChanged()
- Specified by:
hasChanged
in interface ChangedFlagInterface
getNr
public int getNr()
setNr
public void setNr(int n)
setLaunchingInParallel
public void setLaunchingInParallel(boolean p)
isDrawn
public boolean isDrawn()
setDrawn
public void setDrawn()
setDrawn
public void setDrawn(boolean d)
isLaunchingInParallel
public boolean isLaunchingInParallel()
setSelected
public void setSelected(boolean sel)
- Specified by:
setSelected
in interface GUIPositionInterface
flipSelected
public void flipSelected()
isSelected
public boolean isSelected()
- Specified by:
isSelected
in interface GUIPositionInterface
setDescription
public void setDescription(String description)
getDescription
public String getDescription()
isStart
public boolean isStart()
isDummy
public boolean isDummy()
isTransformation
public boolean isTransformation()
isJob
public boolean isJob()
evaluates
public boolean evaluates()
isUnconditional
public boolean isUnconditional()
isEvaluation
public boolean isEvaluation()
isMail
public boolean isMail()
isSpecial
public boolean isSpecial()
toString
public String toString()
- Overrides:
toString
in class Object
getName
public String getName()
setName
public void setName(String name)
resetErrorsBeforeExecution
public boolean resetErrorsBeforeExecution()
getParentJobMeta
public JobMeta getParentJobMeta()
setParentJobMeta
public void setParentJobMeta(JobMeta parentJobMeta)