Package it.eng.spagobi.engines.talend.runtime

Examples of it.eng.spagobi.engines.talend.runtime.Job


 
 
  public void doService( EngineStartServletIOManager servletIOManager ) throws SpagoBIEngineException {
   
    RuntimeRepository runtimeRepository;
    Job job;

    logger.debug("IN");
   
    try {   
     
      //servletIOManager.auditServiceStartEvent();
       
      super.doService(servletIOManager);
       
      job = new Job( servletIOManager.getTemplateAsSourceBean() );     
      runtimeRepository = TalendEngine.getRuntimeRepository();
     
      try {
        runtimeRepository.runJob(job, servletIOManager.getEnv());
      } catch (JobNotFoundException ex) {
View Full Code Here


   * @return true, if is valid template
   */
  public boolean isValidTemplate(File templateFile) {
    try {
         SourceBean template = SourceBean.fromXMLStream( new InputSource(new FileInputStream(templateFile)) );
      Job job = new Job( template );
      if(job.getLanguage() == null || job.getProject() == null || job.getName() == null) return false;
    } catch (Exception e) {
       return false;
    }
   
    return true;
View Full Code Here

TOP

Related Classes of it.eng.spagobi.engines.talend.runtime.Job

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.