Examples of ExecutionListener


Examples of com.dtolabs.rundeck.core.execution.ExecutionListener

                "Hostname must be set to connect to remote node '" + node.getNodename() + "'",
                node
            );
        }

        final ExecutionListener listener = context.getExecutionListener();
        final Project project = new Project();
        AntSupport.addAntBuildListener(listener, project);

        boolean success = false;
        final ExtSSHExec sshexec;
View Full Code Here

Examples of eu.stratosphere.nephele.execution.ExecutionListener

    if (priority.intValue() < 0) {
      LOG.error("Priority for execution listener " + executionListener.getClass() + " must be non-negative.");
      return;
    }

    final ExecutionListener previousValue = this.executionListeners.putIfAbsent(priority, executionListener);

    if (previousValue != null) {
      LOG.error("Cannot register " + executionListener.getClass() + " as an execution listener. Priority "
        + priority.intValue() + " is already taken.");
    }
View Full Code Here

Examples of henplus.event.ExecutionListener

        _variables.putAll(_config.readProperties());
    }

    public void registerLastCommandListener(final CommandDispatcher dispatcher) {
        _specialVariables.add(SPECIAL_LAST_COMMAND);
        dispatcher.addExecutionListener(new ExecutionListener() {

            @Override
            public void beforeExecution(final SQLSession session, final String command) {
            }
View Full Code Here

Examples of org.activiti.engine.delegate.ExecutionListener

      transition.addExecutionListener(createExecutionListener(bpmnParse, activitiListener));
    }
  }
 
  protected ExecutionListener createExecutionListener(BpmnParse bpmnParse, ActivitiListener activitiListener) {
    ExecutionListener executionListener = null;
 
    if (ImplementationType.IMPLEMENTATION_TYPE_CLASS.equalsIgnoreCase(activitiListener.getImplementationType())) {
      executionListener = bpmnParse.getListenerFactory().createClassDelegateExecutionListener(activitiListener)
    } else if (ImplementationType.IMPLEMENTATION_TYPE_EXPRESSION.equalsIgnoreCase(activitiListener.getImplementationType())) {
      executionListener = bpmnParse.getListenerFactory().createExpressionExecutionListener(activitiListener);
View Full Code Here

Examples of org.activiti.engine.delegate.ExecutionListener

    int executionListenerIndex = execution.getExecutionListenerIndex();
   
    if (executionListeners.size()>executionListenerIndex) {
      execution.setEventName(org.activiti.engine.impl.pvm.PvmEvent.EVENTNAME_TAKE);
      execution.setEventSource(transition);
      ExecutionListener listener = executionListeners.get(executionListenerIndex);
      try {
        listener.notify(execution);
      } catch (RuntimeException e) {
        throw e;
      } catch (Exception e) {
        throw new PvmException("couldn't execute event listener : "+e.getMessage(), e);
      }
View Full Code Here

Examples of org.activiti.engine.delegate.ExecutionListener

    int executionListenerIndex = execution.getExecutionListenerIndex();
   
    if (exectionListeners.size()>executionListenerIndex) {
      execution.setEventName(getEventName());
      execution.setEventSource(scope);
      ExecutionListener listener = exectionListeners.get(executionListenerIndex);
      try {
        listener.notify(execution);
      } catch (RuntimeException e) {
        throw e;
      } catch (Exception e) {
        throw new PvmException("couldn't execute event listener : "+e.getMessage(), e);
      }
View Full Code Here

Examples of org.activiti.engine.delegate.ExecutionListener

    int executionListenerIndex = execution.getExecutionListenerIndex();
   
    if (executionListeners.size()>executionListenerIndex) {
      execution.setEventName(org.activiti.engine.impl.pvm.PvmEvent.EVENTNAME_TAKE);
      execution.setEventSource(transition);
      ExecutionListener listener = executionListeners.get(executionListenerIndex);
      try {
        listener.notify(execution);
      } catch (RuntimeException e) {
        throw e;
      } catch (Exception e) {
        throw new PvmException("couldn't execute event listener : "+e.getMessage(), e);
      }
View Full Code Here

Examples of org.apache.maven.execution.ExecutionListener

        else
        {
            transferListener = new BatchModeMavenTransferListener( System.out );
        }

        ExecutionListener executionListener = new ExecutionEventLogger( logger );

        String alternatePomFile = null;
        if ( commandLine.hasOption( CLIManager.ALTERNATE_POM_FILE ) )
        {
            alternatePomFile = commandLine.getOptionValue( CLIManager.ALTERNATE_POM_FILE );
View Full Code Here

Examples of org.apache.maven.execution.ExecutionListener

        else
        {
            transferListener = new BatchModeMavenTransferListener( System.out );
        }

        ExecutionListener executionListener = new ExecutionEventLogger( logger );
        executionListener = eventSpyDispatcher.chainListener( executionListener );

        String alternatePomFile = null;
        if ( commandLine.hasOption( CLIManager.ALTERNATE_POM_FILE ) )
        {
View Full Code Here

Examples of org.apache.maven.execution.ExecutionListener

        else
        {
            transferListener = new BatchModeMavenTransferListener( System.out );
        }

        ExecutionListener executionListener = new ExecutionEventLogger( logger );
        executionListener = eventSpyDispatcher.chainListener( executionListener );

        String alternatePomFile = null;
        if ( commandLine.hasOption( CLIManager.ALTERNATE_POM_FILE ) )
        {
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.