org.jbpm.services.task.commands

## Class TaskCommandExecutorImpl

- java.lang.Object
- - org.jbpm.services.task.commands.TaskCommandExecutorImpl

- All Implemented Interfaces:
    org.drools.core.command.CommandService, org.kie.api.runtime.CommandExecutor

      public class TaskCommandExecutorImpl
      extends Object
      implements org.drools.core.command.CommandService

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TaskCommandExecutorImpl(org.kie.api.runtime.Environment environment, TaskEventSupport taskEventSupport)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addInterceptor(org.drools.core.command.Interceptor interceptor)`
    `<T> T` | `execute(org.kie.api.command.Command<T> command)`
    `org.kie.internal.command.Context` | `getContext()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TaskCommandExecutorImpl

          public TaskCommandExecutorImpl(org.kie.api.runtime.Environment environment,
                                 TaskEventSupport taskEventSupport)

  - ### Method Detail

    - #### execute

          public <T> T execute(org.kie.api.command.Command<T> command)

      Specified by:
        `execute` in interface `org.kie.api.runtime.CommandExecutor`

    - #### addInterceptor

          public void addInterceptor(org.drools.core.command.Interceptor interceptor)

    - #### getContext

          public org.kie.internal.command.Context getContext()

      Specified by:
        `getContext` in interface `org.drools.core.command.CommandService`

Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.