public void saveRep(Repository rep, long id_job) throws KettleException { try { setID(rep.insertJobEntry(id_job, getName(), getDescription(), getTypeCode())); } catch (KettleDatabaseException dbe) { throw new KettleException( "Unable to save job entry base information to the repository for id_job=" + id_job, dbe); } }
public JobEntryBase(JobEntryBase jeb) { setName(jeb.getName()); setDescription(jeb.getDescription()); setType(jeb.getType()); setID(jeb.getID()); }
public JobEntryBase(String name, String description) { setName(name); setDescription(description); setID(-1L); }