Examples of execute()


Examples of com.artemis.Weaver.execute()

  void execute() {
    long start = System.currentTimeMillis();
   
    Weaver.enablePooledWeaving(!disablePooledWeaving);
    Weaver weaver = new Weaver(classRoot);
    WeaverLog processed = weaver.execute();
    if (verbose && processed.components.size() > 0) {
      System.out.println(getSummary(processed.components, start));
    } else {
      System.out.println(processed.getFormattedLog());
    }
View Full Code Here

Examples of com.asakusafw.testdriver.JobExecutor.execute()

            }
        });

        JobExecutor executor = new InProcessJobExecutor(context);
        try {
            executor.execute(job(MockHadoopJob.class.getName()), Collections.<String, String>emptyMap());
        } catch (IOException e) {
            throw new AssertionError(e);
        }
        assertThat(call.get(), is(true));
    }
View Full Code Here

Examples of com.asakusafw.windgate.core.AbortTask.execute()

            WGLOG.error(e, "E01001");
            return 1;
        }
        try {
            if (RuntimeContext.get().canExecute(task)) {
                task.execute();
            }
            return 0;
        } catch (Exception e) {
            WGLOG.error(e, "E01002");
            return 1;
View Full Code Here

Examples of com.asakusafw.windgate.core.GateTask.execute()

            WGLOG.error(e, "E00001");
            return 1;
        }
        try {
            if (RuntimeContext.get().canExecute(task)) {
                task.execute();
            }
            return 0;
        } catch (Exception e) {
            WGLOG.error(e, "E00002");
            return 1;
View Full Code Here

Examples of com.asakusafw.windgate.core.process.ProcessProvider.execute()

                    LOG.debug("Starting gate process: {}",
                            process.getName(),
                            sessionId);
                    try {
                        if (RuntimeContext.get().canExecute(processProvider)) {
                            processProvider.execute(drivers, process);
                        } else {
                            LOG.info("Skipped process execution (simulated)");
                        }
                    } catch (IOException e) {
                        WGLOG.error(e, "E00003",
View Full Code Here

Examples of com.asakusafw.yaess.core.CommandScriptHandler.execute()

                map());

        CommandScriptHandler handler = handler();
        ExecutionContext context = new ExecutionContext(
                "tbatch", "tflow", "texec", ExecutionPhase.MAIN, map());
        handler.execute(PhaseMonitor.NULL, context, script);
    }

    /**
     * Script is missing.
     * @throws Exception if failed
View Full Code Here

Examples of com.asakusafw.yaess.core.HadoopScriptHandler.execute()

                map());

        HadoopScriptHandler handler = handler("env.ASAKUSA_HOME", getAsakusaHome().getAbsolutePath());
        ExecutionContext context = new ExecutionContext(
                "tbatch", "tflow", "texec", ExecutionPhase.MAIN, map());
        handler.execute(ExecutionMonitor.NULL, context, script);
    }

    /**
     * Asakusa home is missing.
     * @throws Exception if failed
View Full Code Here

Examples of com.asakusafw.yaess.core.JobScheduler.execute()

    public void simple() throws Exception {
        JobScheduler instance = create("parallel.default", "1");

        List<Mock> jobs = new ArrayList<Mock>();
        jobs.add(new Mock("a"));
        instance.execute(PhaseMonitor.NULL, CONTEXT, jobs, JobScheduler.STRICT);
        Set<String> rest = collectRest(jobs);
        assertThat(rest.size(), is(0));
    }

    /**
 
View Full Code Here

Examples of com.atlassian.clover.ant.tasks.CloverLogTask.execute()

        cloverLogTask.setOutputProperty("cloverlogproperty");
        if (this.contextFilters != null) {
            cloverLogTask.setFilter(this.contextFilters);
        }
        setTestSourceRoots(cloverLogTask);
        cloverLogTask.execute();

        getLog().info(antProject.getProperty("cloverlogproperty"));
    }

    /**
 
View Full Code Here

Examples of com.atlassian.clover.ant.tasks.CloverMergeTask.execute()

                dbSet.setSpan(new Interval(span));
            }

            merge.addCloverDbSet(dbSet);

            merge.execute();
        } catch (BuildException e) {
            throw new MojoExecutionException(e.getMessage(), e);
        }
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.