Class 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 Detail

      • JobEntryCopy

        public 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 Detail

      • getXML

        public String getXML()
        Specified by:
        getXML in interface org.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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getObjectId

        public org.pentaho.di.repository.ObjectId getObjectId()
      • 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 org.pentaho.di.core.gui.GUIPositionInterface
      • setLocation

        public void setLocation​(org.pentaho.di.core.gui.Point loc)
        Specified by:
        setLocation in interface org.pentaho.di.core.gui.GUIPositionInterface
      • getLocation

        public org.pentaho.di.core.gui.Point getLocation()
        Specified by:
        getLocation in interface BaseMeta
        Specified by:
        getLocation in interface org.pentaho.di.core.gui.GUIPositionInterface
      • 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 org.pentaho.di.core.gui.GUIPositionInterface
      • flipSelected

        public void flipSelected()
      • isSelected

        public boolean isSelected()
        Specified by:
        isSelected in interface org.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 interface org.pentaho.di.core.AttributesInterface
      • getAttributesMap

        public Map<String,​Map<String,​String>> getAttributesMap()
        Specified by:
        getAttributesMap in interface org.pentaho.di.core.AttributesInterface
      • setAttribute

        public void setAttribute​(String groupName,
                                 String key,
                                 String value)
        Specified by:
        setAttribute in interface org.pentaho.di.core.AttributesInterface
      • setAttributes

        public void setAttributes​(String groupName,
                                  Map<String,​String> attributes)
        Specified by:
        setAttributes in interface org.pentaho.di.core.AttributesInterface
      • getAttributes

        public Map<String,​String> getAttributes​(String groupName)
        Specified by:
        getAttributes in interface org.pentaho.di.core.AttributesInterface
      • getAttribute

        public String getAttribute​(String groupName,
                                   String key)
        Specified by:
        getAttribute in interface org.pentaho.di.core.AttributesInterface
      • isDeprecated

        public boolean isDeprecated()
      • getSuggestion

        public String getSuggestion()