public class DuccReservationCancel 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.ReservationRequestProperties |
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 |
|---|
DuccReservationCancel(List<String> args) |
DuccReservationCancel(Properties props) |
DuccReservationCancel(String[] args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute()
Execute collects the parameters for reservation cancellation and sends them to the DUCC Orchestrator
to effect the cancellation.
|
String |
getResponseMessage()
Return the DUCC Orchestrator message, if any, pertaining to the cancellation.
|
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, waitForCompletionorg.apache.uima.ducc.transport.event.cli.ReservationRequestProperties requestProperties
long canceledPid
String responseMessage
org.apache.uima.ducc.cli.IUiOptions.UiOption[] opts
public DuccReservationCancel(String[] args) throws Exception
args - Array of string arguments as described in theException - if request failspublic DuccReservationCancel(List<String> args) throws Exception
args - List of string arguments as described in the
Command Line Interface section of the DuccBookException - if request failspublic DuccReservationCancel(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.