Class CommandLineDescriptor
java.lang.Object
org.nuxeo.ecm.platform.commandline.executor.service.CommandLineDescriptor
- All Implemented Interfaces:
Descriptor
XMap descriptor for a CommandLine.
- Author:
- tiry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected boolean
protected String
protected String
protected String
protected boolean
protected String
protected String
protected String
protected String
protected String
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
Field Details
-
name
-
enabled
protected boolean enabled -
command
-
parameterString
-
testParameterString
- Since:
- 8.4
-
winParameterString
-
winTestParameterString
- Since:
- 8.4
-
winCommand
-
tester
-
readOutput
protected boolean readOutput -
installationDirective
-
timeout
-
-
Constructor Details
-
CommandLineDescriptor
public CommandLineDescriptor()
-
-
Method Details
-
getId
Description copied from interface:Descriptor
The descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()
for exemple.- Specified by:
getId
in interfaceDescriptor
-
getName
-
isEnabled
public boolean isEnabled() -
getCommand
-
getParametersString
-
getTestParametersString
-
getTester
-
getReadOutput
public boolean getReadOutput() -
getInstallationDirective
-
getTimeout
Returns the time limit for the command- Since:
- 11.5
-
getExecutor
-
toString
-