View Javadoc
1   package io.guixer.lang.command;
2   
3   import io.guixer.types.StepType;
4   
5   public class SleepCommand implements Command {
6   
7   	@Override
8   	public StepType getType() {
9   
10  		return StepType.SLEEP;
11  	}
12  
13  	public final int seconds;
14  
15  	@Override
16  	public String toString() {
17  
18  		return "SleepCommand: " + seconds;
19  	}
20  
21  	public SleepCommand(
22  		final int seconds
23  	) {
24  
25  		this.seconds = seconds;
26  	}
27  }