Examples of Execution


Examples of org.apache.stanbol.enhancer.servicesapi.helper.execution.Execution

            NonLiteral ce = ExecutionMetadataHelper.getChainExecution(executionMetadata, ci.getUri());
            if (ce != null) {
                chainExecution = new ChainExecution(executionMetadata, ce);
                engineExecutions = new ArrayList<Execution>();
                for (NonLiteral ex : ExecutionMetadataHelper.getExecutions(executionMetadata, ce)) {
                    engineExecutions.add(new Execution(chainExecution, executionMetadata, ex));
                }
                Collections.sort(engineExecutions);
            } else {
                chainExecution = null;
                engineExecutions = null;
View Full Code Here

Examples of org.archfirst.bfexch.domain.trading.order.Execution

    private void executeOrder(
            Order order,
            DateTime executionTime,
            DecimalQuantity executionQty,
            Money price) {
        Execution execution =
            order.execute(orderRepository, executionTime, executionQty, price);
        orderEventPublisher.publish(new OrderExecuted(execution));
    }
View Full Code Here

Examples of org.camunda.bpm.engine.runtime.Execution

    when(mockInstanceQuery.singleResult()).thenReturn(mockInstance);
    when(mockRuntimeService.createProcessInstanceQuery()).thenReturn(mockInstanceQuery);
  }

  private void createExecutionMock() {
    Execution mockExecution = MockProvider.createMockExecution();

    ExecutionQuery mockExecutionQuery = mock(ExecutionQuery.class);
    when(mockExecutionQuery.processInstanceId(eq(MockProvider.EXAMPLE_PROCESS_INSTANCE_ID))).thenReturn(mockExecutionQuery);
    when(mockExecutionQuery.singleResult()).thenReturn(mockExecution);
    when(mockRuntimeService.createExecutionQuery()).thenReturn(mockExecutionQuery);
View Full Code Here

Examples of org.jboss.forge.addon.maven.plugins.Execution

    });
  }

  @Override
  protected void init() {
    final Execution execution = executions.iterator().next();
    final ConfigurationElement artifactItems = execution.getConfig().getConfigurationElement("artifactItems");
    final ConfigurationElementBuilder artifactItem = (ConfigurationElementBuilder) artifactItems.getChildren().get(0);

    final VersionFacet versionFacet = getProject().getFacet(VersionFacet.class);
    artifactItem.addChild(ConfigurationElementBuilder.create().setName("version")
            .setText(versionFacet.resolveVersion(WildflyDist)));
View Full Code Here

Examples of org.jboss.forge.shell.command.Execution

                  break;
               }
            }

            String pipeIn = forwardPipe != null ? forwardPipe.getBuffer() : null;
            Execution execution = executionParser.parse(outQueue, pipeIn, pipeOut);
            execution.verifyConstraints(shell);
            execution.perform(forwardPipe);
         }
      }
      while ((n = n.next) != null);
   }
View Full Code Here

Examples of org.jbpm.api.Execution

  public void assertProcessInstanceEnded(ProcessInstance processInstance) {
    assertExecutionEnded(processInstance.getId());
  }
 
  public void assertActiveActivity(String activityName, String executionId) {
    Execution execution = executionService.findExecutionById(executionId);
    assertTrue("The given execution (or any child execution) isn't in the activity '" + activityName
            + "' (current activities : " + listAllActiveActivites(executionId) + ")",
            execution.isActive(activityName));
  }
View Full Code Here

Examples of org.jbpm.pvm.Execution

        .node("a").initial().behaviour(new WaitState())
          .transition().to("b")
        .node("b").behaviour(new WaitState())
    .done();
   
    Execution execution = processDefinition.startExecution();
    execution.signal();
  }
View Full Code Here

Examples of org.seleniumhq.selenium.fluent.internal.Execution

    @Test
    public void assertionError_should_be_wrapped_in_context_exception() {

        try {
            Context dummy_context = Context.singular(null, "dummy");
            fc.executeAndWrapReThrowIfNeeded(new Execution() {
                public Void execute() {
                    throw new AssertionError("Oops");
                }
            }, null, dummy_context, true);
            fail("should have barfed");
View Full Code Here

Examples of org.soybeanMilk.core.Execution

  public void execute_executionIsCreated() throws Exception
  {
    HashMapObjectSource os=new HashMapObjectSource();
    executor.execute(KEY_EXE_HELLO, os);
   
    Execution re=os.get(KEY_EXECUTION);
   
    Assert.assertEquals(os, re.getObjectSource());
    Assert.assertEquals(KEY_EXE_HELLO, re.getExecutable().getName());
    Assert.assertNull(re.getExecuteException());
  }
View Full Code Here

Examples of org.teiid.translator.Execution

    }

    private List executeCommand(Command command, RuntimeMetadata runtimeMetadata, boolean close)
        throws TranslatorException {

        Execution exec = connector.createExecution(command, this.executionContext, runtimeMetadata, this.connectionFactory);
        exec.execute();
        List results = readResultsFromExecution(exec);
        if (close) {
          exec.close();
        }
        return results;
    }
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.