|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.pvm.SignalDefinition
public class SignalDefinition
describes the signature of an external trigger.
Nested Class Summary | |
---|---|
static class |
SignalDefinition.SetBuilder
|
Field Summary | |
---|---|
static SignalDefinition |
DEFAULT
|
protected java.lang.String |
description
|
protected java.lang.String |
name
|
protected java.util.Map<java.lang.String,java.lang.Class<?>> |
parameterDefinitions
|
protected java.util.Map<java.lang.String,java.lang.Object> |
properties
|
Constructor Summary | |
---|---|
SignalDefinition()
|
|
SignalDefinition(java.lang.String name)
|
Method Summary | |
---|---|
static SignalDefinition.SetBuilder |
build()
|
java.lang.String |
getDescription()
a free text description |
java.lang.String |
getName()
the signal name that corresponds to the value of the signal parameter in the Execution.signal(String) method. |
java.util.Map<java.lang.String,java.lang.Class<?>> |
getParameterDefinitions()
specifies the type of java object of the parameters that must be fed into this signal. |
static java.util.Set<java.lang.String> |
getSignalNames(java.util.List<SignalDefinition> signalDefinitions)
|
void |
setDescription(java.lang.String description)
a free text description |
void |
setName(java.lang.String name)
the signal name that corresponds to the value of the signal parameter in the Execution.signal(String) method. |
void |
setParameterDefinitions(java.util.Map<java.lang.String,java.lang.Class<?>> parameterDefinitions)
specifies the type of java object of the parameters that must be fed into this signal. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SignalDefinition DEFAULT
protected java.lang.String name
protected java.lang.String description
protected java.util.Map<java.lang.String,java.lang.Class<?>> parameterDefinitions
protected java.util.Map<java.lang.String,java.lang.Object> properties
Constructor Detail |
---|
public SignalDefinition()
public SignalDefinition(java.lang.String name)
Method Detail |
---|
public static SignalDefinition.SetBuilder build()
public static java.util.Set<java.lang.String> getSignalNames(java.util.List<SignalDefinition> signalDefinitions)
public java.lang.String getName()
Execution.signal(String)
method.
public void setName(java.lang.String name)
Execution.signal(String)
method.
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.util.Map<java.lang.String,java.lang.Class<?>> getParameterDefinitions()
public void setParameterDefinitions(java.util.Map<java.lang.String,java.lang.Class<?>> parameterDefinitions)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |