public class DuccReservationSubmit extends CliBase
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.uima.ducc.cli.IUiOptions.UiOption[] |
opts |
(package private) org.apache.uima.ducc.transport.event.cli.ReservationRequestProperties |
requestProperties |
(package private) IDuccCallback |
resCB |
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 |
---|
DuccReservationSubmit(ArrayList<String> args) |
DuccReservationSubmit(Properties props) |
DuccReservationSubmit(String[] args) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
Execute collects the parameters for the reservation and sends them to the DUCC Orchestrator
to schedule the reservation.
|
String |
getHost()
If the reservation is granted, this method returns the reserved host
|
String[] |
getHosts()
Deprecated.
|
String |
getHostsAsString()
Deprecated.
|
static void |
main(String[] args)
Main method, as used by the executable jar or direct java invocation.
|
check_service_dependencies, consoleExits, extractReply, getCallback, getDuccId, getLogDirectory, getReturnCode, inhibitDefaults, init, init, init, initConsoleListener, isConsoleAttached, message, monitorExits, saveSpec, setDefaults, setOptions, setProperty, setUser, setWorkingDirectory, startConsoleListener, startMonitor, startMonitors, stopListeners, usage, waitForCompletion
org.apache.uima.ducc.transport.event.cli.ReservationRequestProperties requestProperties
IDuccCallback resCB
org.apache.uima.ducc.cli.IUiOptions.UiOption[] opts
public DuccReservationSubmit(String[] args) throws Exception
args
- Array of string arguments as described in the
DUCC CLI reference.Exception
public DuccReservationSubmit(ArrayList<String> args) throws Exception
args
- List of string arguments as described in the
DUCC CLI reference.Exception
public DuccReservationSubmit(Properties props) throws Exception
props
- Properties file of arguments, as described in the
DUCC CLI reference.Exception
public boolean execute() throws Exception
public String getHost()
@Deprecated public String[] getHosts()
@Deprecated public String getHostsAsString()
public static void main(String[] args)
args
- arguments as described in the DUCC CLI reference.Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.