diff options
author | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2021-11-26 15:49:36 -0500 |
---|---|---|
committer | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2021-11-26 16:52:57 -0500 |
commit | 65386bb78fb5afe2ccab967e35bd40f65720dd60 (patch) | |
tree | df9bf58adad38a3849585ecc35f8e90072421f93 /bpmn/so-bpmn-tasks/src/main/java/org | |
parent | 7861185045a47e86ea34afb22038cce3ab4196b7 (diff) |
Enable recursive model by adding services to resources
Issue-ID: SO-3811
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: I13ea0986b9c81971432626163d323991b57f9545
Diffstat (limited to 'bpmn/so-bpmn-tasks/src/main/java/org')
-rw-r--r-- | bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/Resource.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/Resource.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/Resource.java index 2a8852a4bd..0214a3f998 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/Resource.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/Resource.java @@ -156,4 +156,8 @@ public class Resource implements Serializable { public List<Resource> getChildren() { return this.children; } + + public Boolean hasParent() { + return parent != null; + } } |