public abstract class AbstractExecutor extends Object implements Executor
Executor
.Modifier and Type | Field and Description |
---|---|
static Pattern |
VALID_PARAMETER_PATTERN
Deprecated.
since 5.7. See
CommandLineExecutorService.checkParameter(String) . |
Constructor and Description |
---|
AbstractExecutor() |
Modifier and Type | Method and Description |
---|---|
static String[] |
getParametersArray(CommandLineDescriptor cmdDesc,
CmdParameters params)
Returns parameters as a String array after having replaced parameterized
values inside.
|
static String |
getParametersString(CommandLineDescriptor cmdDesc,
CmdParameters params)
Returns parameters as a String after having replaced parameterized values
inside.
|
static boolean |
isWindows() |
@Deprecated public static final Pattern VALID_PARAMETER_PATTERN
CommandLineExecutorService.checkParameter(String)
.public static boolean isWindows()
public static String getParametersString(CommandLineDescriptor cmdDesc, CmdParameters params)
cmdDesc
- CommandLineDescriptor containing parametersparams
- parameterized valuespublic static String[] getParametersArray(CommandLineDescriptor cmdDesc, CmdParameters params)
cmdDesc
- CommandLineDescriptor containing parametersparams
- parameterized valuesCopyright © 2013 Nuxeo SA. All Rights Reserved.