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
ConstructorDescriptionJobEntryCopy
(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
Modifier and TypeMethodDescriptionvoid
clear()
void
clone()
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
boolean
void
getAttribute
(String groupName, String key) getAttributes
(String groupName) getEntry()
org.pentaho.di.core.gui.Point
getName()
int
getNr()
org.pentaho.di.repository.ObjectId
getXML()
boolean
int
hashCode()
boolean
boolean
isDrawn()
boolean
isDummy()
boolean
boolean
isJob()
boolean
boolean
isMail()
boolean
boolean
boolean
boolean
isStart()
boolean
boolean
void
replaceMeta
(JobEntryCopy jobEntryCopy) boolean
void
setAttribute
(String groupName, String key, String value) void
setAttributes
(String groupName, Map<String, String> attributes) void
void
void
setChanged
(boolean ch) void
setDescription
(String description) void
setDrawn()
void
setDrawn
(boolean d) void
void
setLaunchingInParallel
(boolean p) void
setLocation
(int x, int y) void
setLocation
(org.pentaho.di.core.gui.Point loc) void
void
setNr
(int n) void
setObjectId
(org.pentaho.di.repository.ObjectId id) void
setParentJobMeta
(JobMeta parentJobMeta) void
setSelected
(boolean sel) toString()
-
Constructor Details
-
JobEntryCopy
public JobEntryCopy() -
JobEntryCopy
-
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 Details
-
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() -
clone
-
replaceMeta
-
clone_deep
-
setObjectId
public void setObjectId(org.pentaho.di.repository.ObjectId id) -
equals
-
hashCode
public int hashCode() -
getObjectId
public org.pentaho.di.repository.ObjectId getObjectId() -
setEntry
-
getEntry
-
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
-
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() -
toString
-
getName
-
setName
-
resetErrorsBeforeExecution
public boolean resetErrorsBeforeExecution() -
getParentJobMeta
-
setParentJobMeta
-
setAttributesMap
- Specified by:
setAttributesMap
in interfaceorg.pentaho.di.core.AttributesInterface
-
getAttributesMap
- Specified by:
getAttributesMap
in interfaceorg.pentaho.di.core.AttributesInterface
-
setAttribute
- Specified by:
setAttribute
in interfaceorg.pentaho.di.core.AttributesInterface
-
setAttributes
- Specified by:
setAttributes
in interfaceorg.pentaho.di.core.AttributesInterface
-
getAttributes
- Specified by:
getAttributes
in interfaceorg.pentaho.di.core.AttributesInterface
-
getAttribute
- Specified by:
getAttribute
in interfaceorg.pentaho.di.core.AttributesInterface
-
isDeprecated
public boolean isDeprecated() -
getSuggestion
-