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 void
clear()
void
clearChanged()
Object
clone()
Object
clone_deep()
protected void
compatibleLoadXml(Node entrynode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep)
Backward compatible loading of XML, using deprecated method.boolean
equals(Object o)
boolean
evaluates()
void
flipSelected()
String
getAttribute(String groupName, String key)
Map<String,String>
getAttributes(String groupName)
Map<String,Map<String,String>>
getAttributesMap()
String
getDescription()
JobEntryInterface
getEntry()
org.pentaho.di.core.gui.Point
getLocation()
String
getName()
int
getNr()
org.pentaho.di.repository.ObjectId
getObjectId()
JobMeta
getParentJobMeta()
String
getSuggestion()
String
getTypeDesc()
String
getXML()
boolean
hasChanged()
int
hashCode()
boolean
isDeprecated()
boolean
isDrawn()
boolean
isDummy()
boolean
isEvaluation()
boolean
isJob()
boolean
isLaunchingInParallel()
boolean
isMail()
boolean
isMissing()
boolean
isSelected()
boolean
isSpecial()
boolean
isStart()
boolean
isTransformation()
boolean
isUnconditional()
void
replaceMeta(JobEntryCopy jobEntryCopy)
boolean
resetErrorsBeforeExecution()
void
setAttribute(String groupName, String key, String value)
void
setAttributes(String groupName, Map<String,String> attributes)
void
setAttributesMap(Map<String,Map<String,String>> attributesMap)
void
setChanged()
void
setChanged(boolean ch)
void
setDescription(String description)
void
setDrawn()
void
setDrawn(boolean d)
void
setEntry(JobEntryInterface je)
void
setLaunchingInParallel(boolean p)
void
setLocation(int x, int y)
void
setLocation(org.pentaho.di.core.gui.Point loc)
void
setName(String name)
void
setNr(int n)
void
setObjectId(org.pentaho.di.repository.ObjectId id)
void
setParentJobMeta(JobMeta parentJobMeta)
void
setSelected(boolean sel)
String
toString()
-
-
-
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:
getXML
in 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:
setLocation
in interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
setLocation
public void setLocation(org.pentaho.di.core.gui.Point loc)
- Specified by:
setLocation
in interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
getLocation
public org.pentaho.di.core.gui.Point getLocation()
- Specified by:
getLocation
in interfaceBaseMeta
- Specified by:
getLocation
in interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
setChanged
public void setChanged()
- Specified by:
setChanged
in interfaceChangedFlagInterface
-
setChanged
public void setChanged(boolean ch)
- Specified by:
setChanged
in interfaceChangedFlagInterface
-
clearChanged
public void clearChanged()
- Specified by:
clearChanged
in interfaceChangedFlagInterface
-
hasChanged
public boolean hasChanged()
- Specified by:
hasChanged
in 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:
setSelected
in interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
flipSelected
public void flipSelected()
-
isSelected
public boolean isSelected()
- Specified by:
isSelected
in 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:
setAttributesMap
in interfaceorg.pentaho.di.core.AttributesInterface
-
getAttributesMap
public Map<String,Map<String,String>> getAttributesMap()
- Specified by:
getAttributesMap
in interfaceorg.pentaho.di.core.AttributesInterface
-
setAttribute
public void setAttribute(String groupName, String key, String value)
- Specified by:
setAttribute
in interfaceorg.pentaho.di.core.AttributesInterface
-
setAttributes
public void setAttributes(String groupName, Map<String,String> attributes)
- Specified by:
setAttributes
in interfaceorg.pentaho.di.core.AttributesInterface
-
getAttributes
public Map<String,String> getAttributes(String groupName)
- Specified by:
getAttributes
in interfaceorg.pentaho.di.core.AttributesInterface
-
getAttribute
public String getAttribute(String groupName, String key)
- Specified by:
getAttribute
in interfaceorg.pentaho.di.core.AttributesInterface
-
isDeprecated
public boolean isDeprecated()
-
getSuggestion
public String getSuggestion()
-
-