Package com.polarion.platform.jobs
Interface IExecuteCommandJobUnit
- All Superinterfaces:
IJobUnit
Execute system command.
Both
setCommand(String)
and setArguments(String...)
may contain one or more
sequences of $propertyName$
where propertyName
is either name of Polarion
configuration property (e.g. "com.polarion.home") which will be expanded to the property's value, or
"jobDir" which will be expanded to full path to the job's working directory.- Since:
- 3.7.2
-
Field Summary
FieldsFields inherited from interface com.polarion.platform.jobs.IJobUnit
UNKNOWN_WORK_LENGTH
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setArguments
(String... arguments) void
setCommand
(String command) Methods inherited from interface com.polarion.platform.jobs.IJobUnit
activate, getCreator, getJob, getLogger, getName, getPriority, getScope, getWorkLength, run, setJob, setLogger, setScope, setWorkDir
-
Field Details
-
JOB_NAME
- See Also:
-
-
Method Details
-
setCommand
-
setArguments
-