diff --git a/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/env/ParentFlowStack.java b/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/env/ParentFlowStack.java index 97796811b..51c40066c 100644 --- a/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/env/ParentFlowStack.java +++ b/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/env/ParentFlowStack.java @@ -24,12 +24,18 @@ */ public class ParentFlowStack implements Serializable { + private static final long serialVersionUID = -3596242783100345155L; + private Deque stack; public ParentFlowStack() { this.stack = new ArrayDeque<>(); } + public ParentFlowData peekFirstParentFlowData() { + return stack.peekFirst(); + } + public void pushParentFlowData(ParentFlowData newContext) { stack.push(newContext); }