public class DuccServiceSubmit 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.ServiceRequestProperties |
requestProperties |
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 |
---|
DuccServiceSubmit(ArrayList<String> args) |
DuccServiceSubmit(Properties props) |
DuccServiceSubmit(String[] args) |
Modifier and Type | Method and Description |
---|---|
protected void |
enrich_parameters_for_debug(Properties props) |
boolean |
execute()
Execute collects the service 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_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.ServiceRequestProperties requestProperties
org.apache.uima.ducc.cli.IUiOptions.UiOption[] opts
public DuccServiceSubmit(String[] args) throws Exception
args
- Array of string arguments as described in the
DUCC CLI reference.Exception
public DuccServiceSubmit(ArrayList<String> args) throws Exception
args
- List of string arguments as described in the
DUCC CLI reference.Exception
public DuccServiceSubmit(Properties props) throws Exception
props
- Properties file of arguments, as described in the
DUCC CLI reference.Exception
protected void enrich_parameters_for_debug(Properties props) throws Exception
Exception
public boolean execute() throws Exception
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.