public class MMessageEvent extends MProcessableElement
Modifier and Type | Class and Description |
---|---|
static class |
MMessageEvent.Direction
The message direction.
|
MProcessableElement.ExcludeMode
Modifier and Type | Field and Description |
---|---|
protected int |
degree
The spec.
|
protected MMessageEvent.Direction |
direction
The direction.
|
static java.util.Map<java.lang.String,MMessageEvent.Direction> |
dirs |
protected UnparsedExpression |
matchexp
The match expression.
|
protected ClassInfo |
type
The message type.
|
excludemode, exported, modes, posttoall, randomselection, rebuild
parameters
CAPABILITY_SEPARATOR, description, name
Constructor and Description |
---|
MMessageEvent()
Create a new message event.
|
Modifier and Type | Method and Description |
---|---|
MMessageEvent.Direction |
getDirection()
Get the direction.
|
UnparsedExpression |
getMatchExpression()
Get the matchExpression.
|
int |
getSpecializationDegree()
Get the specialization degree.
|
ClassInfo |
getType()
Get the type.
|
void |
setDirection(MMessageEvent.Direction direction)
The direction to set.
|
void |
setMatchExpression(UnparsedExpression matchexp)
The match expression to set.
|
void |
setType(ClassInfo type)
The type to set.
|
getExcludeMode, isExported, isPostToAll, isRandomSelection, isRebuild, setExcludeMode, setExported, setPostToAll, setRandomSelection, setRebuild
addParameter, getParameter, getParameters, hasParameter, hasParameterIgnoreCase, setParameters
equals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toString
public static java.util.Map<java.lang.String,MMessageEvent.Direction> dirs
protected MMessageEvent.Direction direction
protected ClassInfo type
protected int degree
protected UnparsedExpression matchexp
public MMessageEvent()
name
- posttoall
- randomselection
- excludemode
- type
- public MMessageEvent.Direction getDirection()
public void setDirection(MMessageEvent.Direction direction)
direction
- The direction to setpublic ClassInfo getType()
public void setType(ClassInfo type)
type
- The type to setpublic UnparsedExpression getMatchExpression()
public void setMatchExpression(UnparsedExpression matchexp)
matchexp
- The matchExpression to setpublic int getSpecializationDegree()