public class TestCommand
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
TestCommand.CommandMode |
static class |
TestCommand.CommandOption |
| Modifier and Type | Field and Description |
|---|---|
java.util.List<java.lang.String> |
arguments |
java.lang.String |
command |
java.lang.String |
executorName |
java.util.List<java.lang.String> |
mandatoryOptions |
java.util.Map<java.lang.String,TestCommand.CommandMode> |
modes |
java.util.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 java.lang.String command
public java.lang.String executorName
public java.util.List<java.lang.String> arguments
public java.util.List<java.lang.String> mandatoryOptions
public java.util.List<TestCommand.CommandOption> options
public java.util.Map<java.lang.String,TestCommand.CommandMode> modes
public TestCommandInstance getRandomCommandInstnance()
public TestCommandExecutor getExecutor()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.