1 package org.kuali.maven.ec2; 2 3 public class WaitControl { 4 boolean wait; 5 int timeout; 6 int sleep = Constants.DEFAULT_SLEEP_MILLIS; 7 int initialPause = Constants.DEFAULT_INITIAL_PAUSE_MILLIS; 8 String state; 9 10 public WaitControl() { 11 this(false, 0, null); 12 } 13 14 public WaitControl(boolean wait, int timeout, String state) { 15 super(); 16 this.wait = wait; 17 this.timeout = timeout; 18 this.state = state; 19 } 20 21 public boolean isWait() { 22 return wait; 23 } 24 25 public void setWait(boolean wait) { 26 this.wait = wait; 27 } 28 29 public int getTimeout() { 30 return timeout; 31 } 32 33 public void setTimeout(int timeout) { 34 this.timeout = timeout; 35 } 36 37 public String getState() { 38 return state; 39 } 40 41 public void setState(String state) { 42 this.state = state; 43 } 44 45 public int getSleep() { 46 return sleep; 47 } 48 49 public void setSleep(int sleep) { 50 this.sleep = sleep; 51 } 52 53 public int getInitialPause() { 54 return initialPause; 55 } 56 57 public void setInitialPause(int initialPause) { 58 this.initialPause = initialPause; 59 } 60 61 }