public interface Command
CommandBuilder.| Modifier and Type | Method and Description |
|---|---|
List<String> |
getFullCommand()
Returns program name and parameters concatenated into a single list
|
int |
getNumberOfParameters()
Returns number of parameters
|
String |
getParameter(int i)
Returns a parameter by index.
|
List<String> |
getParameters()
Returns a list of parameters.
|
String |
getProgramName()
Returns a name of the program to be executed
|
String getProgramName()
List<String> getParameters()
getFullCommand()String getParameter(int i)
index is 0, program name is returned
If index is out of range, null is returnedi - int getNumberOfParameters()
Copyright © 2014 JBoss by Red Hat. All rights reserved.