1 package org.rundeck.api.domain;
2
3 /**
4 * A state for a particular step
5 */
6 public class WorkflowStepContextState extends BaseState {
7 private String stepContextId;
8 private int stepNum;
9
10 /**
11 * The context id for the step in the form "#[/#[/#[...]]]" where "#" is a number
12 * @return
13 */
14 public String getStepContextId() {
15 return stepContextId;
16 }
17
18 public void setStepContextId(String stepContextId) {
19 this.stepContextId = stepContextId;
20 }
21
22 /**
23 * The step number of this step in the current workflow, 1 indexed.
24 * @return
25 */
26 public int getStepNum() {
27 return stepNum;
28 }
29
30 public void setStepNum(int stepNum) {
31 this.stepNum = stepNum;
32 }
33 }