public void loadXML(Node entrynode, ArrayList databases, Repository rep) throws KettleXMLException { try { super.loadXML(entrynode, databases); messageabort = XMLHandler.getTagValue(entrynode, "message"); } catch (Exception e) { throw new KettleXMLException("Unable to load job entry of type 'Abort' from XML node", e); } }
// Save the attributes of this job entry // public void saveRep(Repository rep, long id_job) throws KettleException { try { super.saveRep(rep, id_job); rep.saveJobEntryAttribute(id_job, getID(), "message", messageabort); } catch (KettleDatabaseException dbe) { throw new KettleException( "Unable to save job entry of type 'Abort' to the repository for id_job=" + id_job, dbe); } }
public void loadRep(Repository rep, long id_jobentry, ArrayList databases) throws KettleException { try { super.loadRep(rep, id_jobentry, databases); messageabort = rep.getJobEntryAttributeString(id_jobentry, "message"); } catch (KettleDatabaseException dbe) { throw new KettleException( "Unable to load job entry of type 'Abort' from the repository with id_jobentry=" + id_jobentry, dbe); } }
public JobEntryBase(JobEntryBase jeb) { setName(jeb.getName()); setDescription(jeb.getDescription()); setType(jeb.getType()); setID(jeb.getID()); }