public class DuccManagedReservationSubmit extends CliBase
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 |
---|
DuccManagedReservationSubmit(ArrayList<String> args) |
DuccManagedReservationSubmit(ArrayList<String> args,
IDuccCallback consoleCb)
This form of the constructor allows the API user to capture
messages, rather than directing them to stdout.
|
DuccManagedReservationSubmit(Properties props) |
DuccManagedReservationSubmit(Properties props,
IDuccCallback consoleCb)
This form of the constructor allows the API user to capture
messages, rather than directing them to stdout.
|
DuccManagedReservationSubmit(String[] args) |
DuccManagedReservationSubmit(String[] args,
IDuccCallback consoleCb)
This form of the constructor allows the API user to capture
messages, rather than directing them to stdout.
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
Execute collects the job parameters, does basic error and correctness checking, and sends
the job properties to the DUCC orchestrator for execution.
|
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
public DuccManagedReservationSubmit(String[] args) throws Exception
args
- List of string arguments as described in the
Command Line Interface section of the DuccBookException
- if request failspublic DuccManagedReservationSubmit(ArrayList<String> args) throws Exception
args
- Array of string arguments as described in the
Command Line Interface section of the DuccBookException
- if request failspublic DuccManagedReservationSubmit(Properties props) throws Exception
props
- Properties file of arguments, as described in the
Command Line Interface section of the DuccBookException
- if request failspublic DuccManagedReservationSubmit(String[] args, IDuccCallback consoleCb) throws Exception
args
- Array of string arguments as described in the
Command Line Interface section of the DuccBookconsoleCb
- If provided, messages are directed to it instead of stdout.Exception
- if request failspublic DuccManagedReservationSubmit(ArrayList<String> args, IDuccCallback consoleCb) throws Exception
args
- List of string arguments as described in the
Command Line Interface section of the DuccBookconsoleCb
- If provided, messages are directed to it instead of stdout.Exception
- if request failspublic DuccManagedReservationSubmit(Properties props, IDuccCallback consoleCb) throws Exception
props
- Properties file contianing string arguments as described in the
Command Line Interface section of the DuccBookconsoleCb
- If provided, messages are directed to it instead of stdout.Exception
- if request failspublic 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.