View Javadoc
1   package io.guixer.lang.command;
2   
3   import static com.google.common.base.Preconditions.checkNotNull;
4   
5   import io.guixer.types.StepType;
6   
7   public class AssertFalseCommand implements Command {
8   
9   	@Override
10  	public StepType getType() {
11  
12  		return StepType.ASSERT_FALSE;
13  	}
14  
15  	public final String expression;
16  
17  	@Override
18  	public String toString() {
19  
20  		return "AssertFalseCommand: " + expression;
21  	}
22  
23  	public AssertFalseCommand(
24  		final String expression
25  	) {
26  
27  		this.expression = checkNotNull(expression, "expression");
28  	}
29  }