Пример #1
0
 public void loadXML(Node entrynode, ArrayList databases) throws KettleXMLException {
   try {
     setName(XMLHandler.getTagValue(entrynode, "name"));
     setDescription(XMLHandler.getTagValue(entrynode, "description"));
     String stype = XMLHandler.getTagValue(entrynode, "type");
     setType(JobEntryCopy.getType(stype));
   } catch (Exception e) {
     throw new KettleXMLException("Unable to load base info for job entry", e);
   }
 }
Пример #2
0
 public JobEntryBase(JobEntryBase jeb) {
   setName(jeb.getName());
   setDescription(jeb.getDescription());
   setType(jeb.getType());
   setID(jeb.getID());
 }