Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
Task()
Create instance
|
Modifier and Type | Method and Description |
---|---|
void |
doTask(String pathName)
Execute the application at a given path.
|
ArrayList<String> |
getNotify()
Get the list of recipient to recieve notifications.
|
ArrayList<String> |
getOutput()
Retrieve the output array from the last run task.
|
static void |
main(String[] args)
Command-line interface.
|
void |
run()
Run the task.
|
void |
setFromLabel(PDSLabel label,
PDSItem context)
Set variables from a config file in PDSLabel format.
|
void |
showHelp()
Show the help for the tool.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public static void main(String[] args)
args
- command-line arguments.public void showHelp()
public ArrayList<String> getOutput()
ArrayList
containing the task output.public void run()
public void doTask(String pathName)
pathName
- the pathname to the executable.public ArrayList<String> getNotify()
ArrayList
of recipients.public void setFromLabel(PDSLabel label, PDSItem context)
label
- the parsed PDSLabel.context
- the item that defines the context within the
label configuration information is located.Copyright © 2014-2015 Regents University of California. All Rights Reserved.