org.drools.command.runtime.process
Class SignalEventCommand

java.lang.Object
  extended by org.drools.command.runtime.process.SignalEventCommand
All Implemented Interfaces:
Serializable, org.drools.command.Command<Object>, GenericCommand<Object>

public class SignalEventCommand
extends Object
implements GenericCommand<Object>

See Also:
Serialized Form

Constructor Summary
SignalEventCommand()
           
SignalEventCommand(long processInstanceId, String eventType, Object event)
           
SignalEventCommand(String eventType, Object event)
           
 
Method Summary
 Object execute(Context context)
           
 Object getEvent()
           
 String getEventType()
           
 long getProcessInstanceId()
           
 void setEvent(Object event)
           
 void setEventType(String eventType)
           
 void setProcessInstanceId(long processInstanceId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignalEventCommand

public SignalEventCommand()

SignalEventCommand

public SignalEventCommand(String eventType,
                          Object event)

SignalEventCommand

public SignalEventCommand(long processInstanceId,
                          String eventType,
                          Object event)
Method Detail

getProcessInstanceId

public long getProcessInstanceId()

setProcessInstanceId

public void setProcessInstanceId(long processInstanceId)

getEventType

public String getEventType()

setEventType

public void setEventType(String eventType)

getEvent

public Object getEvent()

setEvent

public void setEvent(Object event)

execute

public Object execute(Context context)
Specified by:
execute in interface GenericCommand<Object>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.