View Javadoc

1   package org.rundeck.api;
2   
3   import java.util.Properties;
4   
5   /**
6    * impl of {@link RunJob}
7    */
8   class DefaultRunJob implements RunJob {
9       private String jobId;
10      private Properties options;
11      private Properties nodeFilters;
12      private String asUser;
13  
14  
15      @Override
16      public String getJobId() {
17          return jobId;
18      }
19  
20      @Override
21      public Properties getOptions() {
22          return options;
23      }
24  
25      @Override
26      public Properties getNodeFilters() {
27          return nodeFilters;
28      }
29  
30      @Override
31      public String getAsUser() {
32          return asUser;
33      }
34  
35      public void setJobId(String jobId) {
36          this.jobId = jobId;
37      }
38  
39      public void setOptions(Properties options) {
40          this.options = options;
41      }
42  
43      public void setNodeFilters(Properties nodeFilters) {
44          this.nodeFilters = nodeFilters;
45      }
46  
47      public void setAsUser(String asUser) {
48          this.asUser = asUser;
49      }
50  }