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

## org.kie.api.runtime.process
Interface EventListener

All Known Subinterfaces:
  ProcessInstance, ProcessInstance, WorkflowProcessInstance, WorkflowProcessInstance

All Known Implementing Classes:
  CompositeContextNodeInstance, CompositeNodeInstance, DynamicNodeInstance, EventSubProcessNodeInstance, ForEachNodeInstance, HumanTaskNodeInstance, MilestoneNodeInstance, ProcessInstanceImpl, RuleFlowProcessInstance, RuleSetNodeInstance, StateBasedNodeInstance, StateNodeInstance, SubProcessNodeInstance, TimerNodeInstance, WorkflowProcessInstanceImpl, WorkItemNodeInstance

    public interface EventListener

An interface that represents an element that is listening for specific types of events.

Method Summary
`String[]` | `getEventTypes()` Returns the event types this event listener is interested in.
`void` | `signalEvent(String type, Object event)` Signals that an event has occurred.

Method Detail

### signalEvent

    void signalEvent(String type,
                     Object event)

  Signals that an event has occurred. The type parameter defines which type of event and the event parameter can contain additional information related to the event.

  Parameters:
    `type` - the type of event
    `event` - the data associated with this event

### getEventTypes

    String[] getEventTypes()

  Returns the event types this event listener is interested in. May return `null` if the event types are unknown.

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

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