Examples of execute()


Examples of org.aavso.tools.vstar.ui.task.PhasePlotTask.execute()

    PhasePlotTask task = new PhasePlotTask(period, epoch,
        seriesVisibilityMap);

    try {
      currTask = task;
      task.execute();
    } catch (Exception e) {
      Mediator.getUI().setCursor(null);
      MessageBox.showErrorDialog(Mediator.getUI().getComponent(),
          "New Phase Plot", e);
    }
View Full Code Here

Examples of org.aavso.tools.vstar.ui.task.PluginManagerOperationTask.execute()

  public void performPluginManagerOperation(PluginManagementOperation op) {
    PluginManagerOperationTask task = new PluginManagerOperationTask(op);

    try {
      currTask = task;
      task.execute();
    } catch (Exception e) {
      Mediator.getUI().setCursor(null);
      MessageBox.showErrorDialog(Mediator.getUI().getComponent(),
          "Plugin Manager", e.getLocalizedMessage());
    }
View Full Code Here

Examples of org.aavso.tools.vstar.util.ApacheCommonsExtremaFinder.execute()

            double max = obs.get(obs.size() - 1).getJD()
                - zeroPoint;

            IExtremaFinder finder = new ApacheCommonsExtremaFinder(
                function, goal, min, max, zeroPoint);
            finder.execute();

            double extremeMag = finder.getExtremeMag();

            String strRepr = String.format("JD: %s, Mag: %s",
                NumericPrecisionPrefs.formatTime(finder
View Full Code Here

Examples of org.aavso.tools.vstar.util.IExtremaFinder.execute()

            double max = obs.get(obs.size() - 1).getJD()
                - zeroPoint;

            IExtremaFinder finder = new ApacheCommonsExtremaFinder(
                function, goal, min, max, zeroPoint);
            finder.execute();

            double extremeMag = finder.getExtremeMag();

            String strRepr = String.format("JD: %s, Mag: %s",
                NumericPrecisionPrefs.formatTime(finder
View Full Code Here

Examples of org.aavso.tools.vstar.util.model.TSPolynomialFitter.execute()

  // Polynomial fit test using delta Cephei data.
  public void testDegree2() {
    TSPolynomialFitter fitter = new TSPolynomialFitter(obs);
    fitter.setDegree(2);
    try {
      fitter.execute();

      List<ValidObservation> fitObs = fitter.getFit();
      assertEquals(polyfit_degree2.length, fitObs.size());

      for (int i = 0; i < fitObs.size(); i++) {
View Full Code Here

Examples of org.activemq.service.TransactionTask.execute()

        }

        // Run the prePrepareTasks
        for (Iterator iter = prePrepareTasks.iterator(); iter.hasNext();) {
            TransactionTask r = (TransactionTask) iter.next();
            r.execute();
        }
    }

    protected void postCommit() throws Throwable {
        // Run the postCommitTasks
View Full Code Here

Examples of org.activiti.bpmn.BpmnAutoLayout.execute()

     }
   }
   
    // Add DI information to bpmn model
    BpmnAutoLayout bpmnAutoLayout = new BpmnAutoLayout(bpmnModel);
    bpmnAutoLayout.execute();
  }
 
  public void convertSteps(List<StepDefinition> stepDefinitions) {
    for (StepDefinition step : stepDefinitions) {
      conversionFactory.getStepConverterFor(step).convertStepDefinition(step, this);
View Full Code Here

Examples of org.activiti.crystalball.simulator.SimulationRun.execute()

  private Expression simulationRunExpression;

  @Override
  public void execute(DelegateExecution execution) throws Exception {
    SimulationRun simulationRun = (SimulationRun) simulationRunExpression.getValue(execution);
    simulationRun.execute(execution);
  }

  @SuppressWarnings("UnusedDeclaration")
  public void setSimulationRun(Expression simulationRun) {
    this.simulationRunExpression = simulationRun;
View Full Code Here

Examples of org.activiti.engine.delegate.JavaDelegate.execute()

        collector.install(execution);

        RuntimeService runtimeService = mockRuntimeService(processMap, "invalid");

        JavaDelegate delegate = new KillMachineSetUpProcesses(runtimeService, PROCESS_IDS);
        delegate.execute(execution);

        return runtimeService;
    }
}
View Full Code Here

Examples of org.activiti.engine.impl.bpmn.parser.BpmnParse.execute()

          // On redeploy, we assume it is validated at the first deploy
          bpmnParse.setValidateSchema(false);
          bpmnParse.setValidateProcess(false);
        }
       
        bpmnParse.execute();
       
        for (ProcessDefinitionEntity processDefinition: bpmnParse.getProcessDefinitions()) {
          processDefinition.setResourceName(resourceName);
         
          if (deployment.getTenantId() != null) {
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.