View Javadoc
1   /*
2    * Copyright (c) 2016 ingenieux Labs
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package br.com.ingenieux.mojo.beanstalk.cmd.env.waitfor;
18  
19  public class WaitForEnvironmentContext {
20  
21    String applicationName;
22    Integer timeoutMins = 20;
23    String statusToWaitFor;
24    String environmentRef;
25    String health;
26  
27    public String getApplicationName() {
28      return applicationName;
29    }
30  
31    public void setApplicationName(String applicationName) {
32      this.applicationName = applicationName;
33    }
34  
35    public Integer getTimeoutMins() {
36      return timeoutMins;
37    }
38  
39    public void setTimeoutMins(Integer timeoutMins) {
40      this.timeoutMins = timeoutMins;
41    }
42  
43    public String getStatusToWaitFor() {
44      return statusToWaitFor;
45    }
46  
47    public void setStatusToWaitFor(String statusToWaitFor) {
48      this.statusToWaitFor = statusToWaitFor;
49    }
50  
51    /**
52     * @return the environmentRef
53     */
54    public String getEnvironmentRef() {
55      return environmentRef;
56    }
57  
58    /**
59     * @param environmentRef the environmentRef to set
60     */
61    public void setEnvironmentRef(String environmentRef) {
62      this.environmentRef = environmentRef;
63    }
64  
65    public String getHealth() {
66      return health;
67    }
68  
69    public void setHealth(String health) {
70      this.health = health;
71    }
72  }