Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.process.workitem.wsht
Class GenericCommandBasedWSHumanTaskHandler

    java.lang.Object
      org.jbpm.process.workitem.wsht.GenericCommandBasedWSHumanTaskHandler

All Implemented Interfaces:
  WorkItemHandler

    public class GenericCommandBasedWSHumanTaskHandler

extends Object
implements WorkItemHandler

Constructor Summary
`GenericCommandBasedWSHumanTaskHandler()`
`GenericCommandBasedWSHumanTaskHandler(KnowledgeRuntime session)`
`GenericCommandBasedWSHumanTaskHandler(KnowledgeRuntime session, OnErrorAction action)`

Method Summary
`void` | `abortWorkItem(WorkItem workItem, WorkItemManager manager)` The given work item should be aborted.
`void` | `connect()`
`void` | `dispose()`
`void` | `executeWorkItem(WorkItem workItem, WorkItemManager manager)` The given work item should be executed.
`void` | `setAction(OnErrorAction action)`
`void` | `setClient(TaskClient client)`
`void` | `setConnection(String ipAddress, int port)`
`void` | `setSession(KnowledgeRuntime session)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GenericCommandBasedWSHumanTaskHandler

    public GenericCommandBasedWSHumanTaskHandler()

### GenericCommandBasedWSHumanTaskHandler

    public GenericCommandBasedWSHumanTaskHandler(KnowledgeRuntime session)

### GenericCommandBasedWSHumanTaskHandler

    public GenericCommandBasedWSHumanTaskHandler(KnowledgeRuntime session,
                                                 OnErrorAction action)

Method Detail

### setSession

    public void setSession(KnowledgeRuntime session)

### setConnection

    public void setConnection(String ipAddress,
                              int port)

### setClient

    public void setClient(TaskClient client)

### setAction

    public void setAction(OnErrorAction action)

### connect

    public void connect()

### executeWorkItem

    public void executeWorkItem(WorkItem workItem,
                                WorkItemManager manager)

  Description copied from interface: `WorkItemHandler`
  The given work item should be executed.

  Specified by:
    `executeWorkItem` in interface `WorkItemHandler`
  Parameters:
    `workItem` - the work item that should be executed
    `manager` - the manager that requested the work item to be executed

### dispose

    public void dispose()
                 throws Exception

  Throws:
    `Exception`

### abortWorkItem

    public void abortWorkItem(WorkItem workItem,
                              WorkItemManager manager)

  Description copied from interface: `WorkItemHandler`
  The given work item should be aborted.

  Specified by:
    `abortWorkItem` in interface `WorkItemHandler`
  Parameters:
    `workItem` - the work item that should be aborted
    `manager` - the manager that requested the work item to be aborted

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.