Class CommandLineDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.platform.commandline.executor.service.CommandLineDescriptor
-
public class CommandLineDescriptor extends Object
XMap descriptor for a CommandLine.- Author:
- tiry
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
available
protected String
command
protected boolean
enabled
protected String
installationDirective
protected String
installErrorMessage
protected String
name
protected String
parameterString
protected boolean
readOutput
protected String
tester
protected String
testParameterString
Duration
timeout
protected String
winCommand
protected String
winParameterString
protected String
winTestParameterString
-
Constructor Summary
Constructors Constructor Description CommandLineDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommand()
String
getExecutor()
String
getInstallationDirective()
String
getInstallErrorMessage()
String
getName()
String
getParametersString()
boolean
getReadOutput()
String
getTester()
String
getTestParametersString()
Duration
getTimeout()
Returns the time limit for the commandboolean
isAvailable()
boolean
isEnabled()
void
setAvailable(boolean available)
void
setInstallErrorMessage(String installErrorMessage)
String
toString()
-
-
-
Field Detail
-
name
protected String name
-
enabled
protected boolean enabled
-
available
protected boolean available
-
command
protected String command
-
parameterString
protected String parameterString
-
testParameterString
protected String testParameterString
-
winParameterString
protected String winParameterString
-
winTestParameterString
protected String winTestParameterString
-
winCommand
protected String winCommand
-
tester
protected String tester
-
readOutput
protected boolean readOutput
-
installationDirective
protected String installationDirective
-
installErrorMessage
protected String installErrorMessage
-
timeout
public Duration timeout
-
-
Method Detail
-
getInstallErrorMessage
public String getInstallErrorMessage()
-
setInstallErrorMessage
public void setInstallErrorMessage(String installErrorMessage)
-
getName
public String getName()
-
isEnabled
public boolean isEnabled()
-
getCommand
public String getCommand()
-
getInstallationDirective
public String getInstallationDirective()
-
getTester
public String getTester()
-
isAvailable
public boolean isAvailable()
-
setAvailable
public void setAvailable(boolean available)
-
getReadOutput
public boolean getReadOutput()
-
getParametersString
public String getParametersString()
-
getTestParametersString
public String getTestParametersString()
-
getExecutor
public String getExecutor()
-
getTimeout
public Duration getTimeout()
Returns the time limit for the command- Since:
- 11.5
-
-