Skip to content

Commit

Permalink
automatically add link for registration if it does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Mar 15, 2013
1 parent cd868be commit bd3151e
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -47,6 +47,11 @@ public NodeGroupLink(String sourceNodeGroupId, String targetNodeGroupId) {
this.sourceNodeGroupId = sourceNodeGroupId;
this.targetNodeGroupId = targetNodeGroupId;
}

public NodeGroupLink(String sourceNodeGroupId, String targetNodeGroupId, NodeGroupLinkAction action) {
this(sourceNodeGroupId, targetNodeGroupId);
this.dataEventAction = action;
}

public NodeGroupLinkAction getDataEventAction() {
return dataEventAction;
Expand Down

0 comments on commit bd3151e

Please sign in to comment.