View Javadoc

1   package org.rundeck.api.domain;
2   
3   import java.util.Date;
4   
5   /**
6    * Base execution status for a step
7    */
8   public class BaseState {
9       private Date startTime;
10      private Date endTime;
11      private Date updateTime;
12      private RundeckWFExecState executionState;
13  
14      /**
15       * Time that the execution of this step started
16       * @return
17       */
18      public Date getStartTime() {
19          return startTime;
20      }
21  
22      public void setStartTime(Date startTime) {
23          this.startTime = startTime;
24      }
25  
26      /**
27       * Time that the execution of this step finished, or null if it has not completed
28       * @return
29       */
30      public Date getEndTime() {
31          return endTime;
32      }
33  
34      public void setEndTime(Date endTime) {
35          this.endTime = endTime;
36      }
37  
38      /**
39       * Current state of the execution
40       * @return
41       */
42      public RundeckWFExecState getExecutionState() {
43          return executionState;
44      }
45  
46      public void setExecutionState(RundeckWFExecState executionState) {
47          this.executionState = executionState;
48      }
49  
50      /**
51       * Time that this state was last updated
52       * @return
53       */
54      public Date getUpdateTime() {
55          return updateTime;
56      }
57  
58      public void setUpdateTime(Date updateTime) {
59          this.updateTime = updateTime;
60      }
61  }