Пример #1
0
 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);
   }
 }
Пример #2
0
 public JobEntryBase(JobEntryBase jeb) {
   setName(jeb.getName());
   setDescription(jeb.getDescription());
   setType(jeb.getType());
   setID(jeb.getID());
 }
Пример #3
0
 public JobEntryBase(String name, String description) {
   setName(name);
   setDescription(description);
   setID(-1L);
 }