public class DuccManagedReservationCancel extends CliBase
Modifier and Type | Field and Description |
---|---|
(package private) long |
canceledPid |
(package private) org.apache.uima.ducc.cli.IUiOptions.UiOption[] |
opts |
(package private) org.apache.uima.ducc.transport.event.cli.JobRequestProperties |
requestProperties |
(package private) String |
responseMessage |
cli_props, commandLine, console_attach, console_listener, consoleCb, debug, dispatcher, ducc_home, errors, friendlyId, host_address, messages, monitor_listener, returnCode, suppress_console_log, userSpecifiedProperties, waiter, warnings
Constructor and Description |
---|
DuccManagedReservationCancel(List<String> args) |
DuccManagedReservationCancel(Properties props) |
DuccManagedReservationCancel(String[] args) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
Execute collects the parameters for job cancellation and sends them to the DUCC Orchestrator
to effect the cancellation.
|
String |
getResponseMessage()
Return the DUCC Orchestrator message, if any, pertaining to the cancelation.
|
static void |
main(String[] args)
Main method, as used by the executable jar or direct java invocation.
|
check_heap_size, check_service_dependencies, consoleExits, extractReply, getCallback, getDuccId, getLogDirectory, getReturnCode, getWorkingDirectory, inhibitDefaults, init, init, init, initConsoleListener, isConsoleAttached, message, monitorExits, saveSpec, setDefaults, setOptions, setProperty, setUser, startConsoleListener, startMonitor, startMonitors, stopListeners, usage, waitForCompletion
org.apache.uima.ducc.transport.event.cli.JobRequestProperties requestProperties
long canceledPid
String responseMessage
org.apache.uima.ducc.cli.IUiOptions.UiOption[] opts
public DuccManagedReservationCancel(String[] args) throws Exception
args
- Array of string arguments as described in the
Command Line Interface section of the DuccBookException
- if request failspublic DuccManagedReservationCancel(List<String> args) throws Exception
args
- List of string arguments as described in the
Command Line Interface section of the DuccBookException
- if request failspublic DuccManagedReservationCancel(Properties props) throws Exception
props
- Properties file of arguments, as described in the
Command Line Interface section of the DuccBookException
- if request failspublic String getResponseMessage()
public boolean execute() throws Exception
public static void main(String[] args)
args
- arguments as described in the DUCC CLI reference.Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.