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 Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields 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, waitMethods 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:DescriptorThe 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:
getIdin 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
-