Class SignalEventCommand
- java.lang.Object
-
- org.drools.core.command.runtime.process.SignalEventCommand
-
- All Implemented Interfaces:
Serializable,org.kie.api.command.Command<Void>,org.kie.api.command.ExecutableCommand<Void>,org.kie.internal.command.ProcessInstanceIdCommand
public class SignalEventCommand extends Object implements org.kie.api.command.ExecutableCommand<Void>, org.kie.internal.command.ProcessInstanceIdCommand
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SignalEventCommand()SignalEventCommand(long processInstanceId, String eventType, Object event)SignalEventCommand(String eventType, Object event)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Voidexecute(org.kie.api.runtime.Context context)org.kie.internal.process.CorrelationKeygetCorrelationKey()ObjectgetEvent()StringgetEventType()LonggetProcessInstanceId()voidsetCorrelationKey(org.kie.internal.process.CorrelationKey correlationKey)voidsetEvent(Object event)voidsetEventType(String eventType)voidsetProcessInstanceId(Long processInstanceId)StringtoString()
-
-
-
Method Detail
-
getProcessInstanceId
public Long getProcessInstanceId()
- Specified by:
getProcessInstanceIdin interfaceorg.kie.internal.command.ProcessInstanceIdCommand
-
setProcessInstanceId
public void setProcessInstanceId(Long processInstanceId)
- Specified by:
setProcessInstanceIdin interfaceorg.kie.internal.command.ProcessInstanceIdCommand
-
getCorrelationKey
public org.kie.internal.process.CorrelationKey getCorrelationKey()
-
setCorrelationKey
public void setCorrelationKey(org.kie.internal.process.CorrelationKey correlationKey)
-
getEventType
public String getEventType()
-
setEventType
public void setEventType(String eventType)
-
getEvent
public Object getEvent()
-
setEvent
public void setEvent(Object event)
-
execute
public Void execute(org.kie.api.runtime.Context context)
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<Void>
-
-