Package org.pentaho.di.job.entry
Class JobEntryCopy
- java.lang.Object
-
- org.pentaho.di.job.entry.JobEntryCopy
-
- All Implemented Interfaces:
Cloneable,BaseMeta,org.pentaho.di.core.AttributesInterface,ChangedFlagInterface,org.pentaho.di.core.gui.GUIPositionInterface,org.pentaho.di.core.xml.XMLInterface
public class JobEntryCopy extends Object implements Cloneable, org.pentaho.di.core.xml.XMLInterface, org.pentaho.di.core.gui.GUIPositionInterface, ChangedFlagInterface, org.pentaho.di.core.AttributesInterface, BaseMeta
This class describes the fact that a single JobEntry can be used multiple times in the same Job. Therefore it contains a link to a JobEntry, a position, a number, etc.- Since:
- 01-10-2003
- Author:
- Matt
-
-
Constructor Summary
Constructors Constructor Description JobEntryCopy()JobEntryCopy(JobEntryInterface entry)JobEntryCopy(Node entrynode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep)Deprecated.JobEntryCopy(Node entrynode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep, org.pentaho.metastore.api.IMetaStore metaStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidclearChanged()Objectclone()Objectclone_deep()protected voidcompatibleLoadXml(Node entrynode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep)Backward compatible loading of XML, using deprecated method.booleanequals(Object o)booleanevaluates()voidflipSelected()StringgetAttribute(String groupName, String key)Map<String,String>getAttributes(String groupName)Map<String,Map<String,String>>getAttributesMap()StringgetDescription()JobEntryInterfacegetEntry()org.pentaho.di.core.gui.PointgetLocation()StringgetName()intgetNr()org.pentaho.di.repository.ObjectIdgetObjectId()JobMetagetParentJobMeta()StringgetSuggestion()StringgetTypeDesc()StringgetXML()booleanhasChanged()inthashCode()booleanisDeprecated()booleanisDrawn()booleanisDummy()booleanisEvaluation()booleanisJob()booleanisLaunchingInParallel()booleanisMail()booleanisMissing()booleanisSelected()booleanisSpecial()booleanisStart()booleanisTransformation()booleanisUnconditional()voidreplaceMeta(JobEntryCopy jobEntryCopy)booleanresetErrorsBeforeExecution()voidsetAttribute(String groupName, String key, String value)voidsetAttributes(String groupName, Map<String,String> attributes)voidsetAttributesMap(Map<String,Map<String,String>> attributesMap)voidsetChanged()voidsetChanged(boolean ch)voidsetDescription(String description)voidsetDrawn()voidsetDrawn(boolean d)voidsetEntry(JobEntryInterface je)voidsetLaunchingInParallel(boolean p)voidsetLocation(int x, int y)voidsetLocation(org.pentaho.di.core.gui.Point loc)voidsetName(String name)voidsetNr(int n)voidsetObjectId(org.pentaho.di.repository.ObjectId id)voidsetParentJobMeta(JobMeta parentJobMeta)voidsetSelected(boolean sel)StringtoString()
-
-
-
Constructor Detail
-
JobEntryCopy
public JobEntryCopy()
-
JobEntryCopy
public JobEntryCopy(JobEntryInterface entry)
-
JobEntryCopy
@Deprecated public JobEntryCopy(Node entrynode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep) throws org.pentaho.di.core.exception.KettleXMLException
Deprecated.- Parameters:
entrynode-databases-slaveServers-rep-- Throws:
org.pentaho.di.core.exception.KettleXMLException
-
JobEntryCopy
public JobEntryCopy(Node entrynode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep, org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.di.core.exception.KettleXMLException
- Throws:
org.pentaho.di.core.exception.KettleXMLException
-
-
Method Detail
-
getXML
public String getXML()
- Specified by:
getXMLin interfaceorg.pentaho.di.core.xml.XMLInterface
-
compatibleLoadXml
protected void compatibleLoadXml(Node entrynode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep) throws org.pentaho.di.core.exception.KettleXMLException
Backward compatible loading of XML, using deprecated method.- Parameters:
entrynode-databases-slaveServers-rep-- Throws:
org.pentaho.di.core.exception.KettleXMLException
-
clear
public void clear()
-
replaceMeta
public void replaceMeta(JobEntryCopy jobEntryCopy)
-
clone_deep
public Object clone_deep()
-
setObjectId
public void setObjectId(org.pentaho.di.repository.ObjectId id)
-
getObjectId
public org.pentaho.di.repository.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:
setLocationin interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
setLocation
public void setLocation(org.pentaho.di.core.gui.Point loc)
- Specified by:
setLocationin interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
getLocation
public org.pentaho.di.core.gui.Point getLocation()
- Specified by:
getLocationin interfaceBaseMeta- Specified by:
getLocationin interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
setChanged
public void setChanged()
- Specified by:
setChangedin interfaceChangedFlagInterface
-
setChanged
public void setChanged(boolean ch)
- Specified by:
setChangedin interfaceChangedFlagInterface
-
clearChanged
public void clearChanged()
- Specified by:
clearChangedin interfaceChangedFlagInterface
-
hasChanged
public boolean hasChanged()
- Specified by:
hasChangedin interfaceChangedFlagInterface
-
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:
setSelectedin interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
flipSelected
public void flipSelected()
-
isSelected
public boolean isSelected()
- Specified by:
isSelectedin interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
setDescription
public void setDescription(String description)
-
getDescription
public String getDescription()
-
isStart
public boolean isStart()
-
isDummy
public boolean isDummy()
-
isMissing
public boolean isMissing()
-
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()
-
getName
public String getName()
-
setName
public void setName(String name)
-
resetErrorsBeforeExecution
public boolean resetErrorsBeforeExecution()
-
getParentJobMeta
public JobMeta getParentJobMeta()
-
setParentJobMeta
public void setParentJobMeta(JobMeta parentJobMeta)
-
setAttributesMap
public void setAttributesMap(Map<String,Map<String,String>> attributesMap)
- Specified by:
setAttributesMapin interfaceorg.pentaho.di.core.AttributesInterface
-
getAttributesMap
public Map<String,Map<String,String>> getAttributesMap()
- Specified by:
getAttributesMapin interfaceorg.pentaho.di.core.AttributesInterface
-
setAttribute
public void setAttribute(String groupName, String key, String value)
- Specified by:
setAttributein interfaceorg.pentaho.di.core.AttributesInterface
-
setAttributes
public void setAttributes(String groupName, Map<String,String> attributes)
- Specified by:
setAttributesin interfaceorg.pentaho.di.core.AttributesInterface
-
getAttributes
public Map<String,String> getAttributes(String groupName)
- Specified by:
getAttributesin interfaceorg.pentaho.di.core.AttributesInterface
-
getAttribute
public String getAttribute(String groupName, String key)
- Specified by:
getAttributein interfaceorg.pentaho.di.core.AttributesInterface
-
isDeprecated
public boolean isDeprecated()
-
getSuggestion
public String getSuggestion()
-
-