public class TestCommand extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
TestCommand.CommandMode |
static class |
TestCommand.CommandOption |
| Modifier and Type | Field and Description |
|---|---|
List<String> |
arguments |
String |
command |
String |
executorName |
List<String> |
mandatoryOptions |
Map<String,TestCommand.CommandMode> |
modes |
List<TestCommand.CommandOption> |
options |
| Constructor and Description |
|---|
TestCommand() |
| Modifier and Type | Method and Description |
|---|---|
TestCommandExecutor |
getExecutor() |
TestCommandInstance |
getRandomCommandInstnance()
This method returns an instance of command with randomly selected mode of
operation and randomly selected options.
|
public String command
public String executorName
public List<TestCommand.CommandOption> options
public Map<String,TestCommand.CommandMode> modes
public TestCommandInstance getRandomCommandInstnance()
public TestCommandExecutor getExecutor()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.