public class NodeEventHelper extends Object
| Constructor and Description |
|---|
NodeEventHelper() |
| Modifier and Type | Method and Description |
|---|---|
static NodeEvent |
createNodeEventInstance(MMObjectNode node,
int eventType,
String machineName)
create an NodeEvent instance with an MMObjectNode
|
static NodeEvent |
createNodeEventInstance(Node node,
int eventType,
String machineName) |
static RelationEvent |
createRelationEventInstance(MMObjectNode node,
int eventType,
String machineName)
create an RelationEvent instnce with an MMObjectNode (builder should be specialization of insrel)
|
static RelationEvent |
createRelationEventInstance(Relation node,
int eventType,
String machineName) |
public static NodeEvent createNodeEventInstance(Node node, int eventType, String machineName)
public static NodeEvent createNodeEventInstance(MMObjectNode node, int eventType, String machineName)
node - eventType - machineName - or null to create a node event with local machine namepublic static RelationEvent createRelationEventInstance(Relation node, int eventType, String machineName)
public static RelationEvent createRelationEventInstance(MMObjectNode node, int eventType, String machineName)
node - eventType - machineName - IllegalArgumentException - when given node's builder is not a specialization of insrelMMBase 1.9-SNAPSHOT - ${javadoctimestamp}