Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
M
N
P
R
S
T
A
add(Command)
- Method in class net.procsched.
ProcessBatch
addListener(CommandTerminationListener)
- Method in class net.procsched.
Command
Adds a listener to this
Command
object.
args
- Variable in class net.procsched.
Command
The arguments to send the to program.
B
batch()
- Method in class net.procsched.
ProcessBatch
C
Command
- Class in
net.procsched
This class is the core of the process scheduling library.
Command()
- Constructor for class net.procsched.
Command
This makes a defualt
Command
object.
Command(String)
- Constructor for class net.procsched.
Command
Makes a
Command
object that uses the specified command and the default working dir "." and no command line arguments.
Command(String, String)
- Constructor for class net.procsched.
Command
This will make a
Command
object with the specified command and working dir.
Command(String, String, String[])
- Constructor for class net.procsched.
Command
This will make a
Command
that takes the specified arguemnts, uses the specified command name and the specified working directory.
command
- Variable in class net.procsched.
Command
The program to execute.
commandTerminated(CommandTerminatedEvent)
- Method in interface net.procsched.event.
CommandTerminationListener
CommandTerminatedEvent
- Class in
net.procsched.event
CommandTerminatedEvent(Object)
- Constructor for class net.procsched.event.
CommandTerminatedEvent
Creates a new instance of CommandTerminatedEvent
CommandTerminationListener
- Interface in
net.procsched.event
compressStdErrStdOut(int)
- Method in class net.procsched.
Command
NOT IMPLEMENTED.
compressStdOutStdErr()
- Method in class net.procsched.
Command
NOT IMPLEMENTED.
D
dir
- Variable in class net.procsched.
Command
The directory to find the program.
E
errorOccured()
- Method in class net.procsched.
Command
Returns true if at least one exception has been caught and stored.
exceptions
- Variable in class net.procsched.
Command
A list which is the command followed by its arguements.
exceptions()
- Method in class net.procsched.
Command
Returns a
List
that stores the caught exceptions.
exec(Command)
- Static method in class net.procsched.
Command
This method will start the command specified.
F
finish
- Variable in class net.procsched.
Command
When the process finishes.
G
getArgs()
- Method in class net.procsched.
Command
Returns the arguments used by this
Command
getCommand()
- Method in class net.procsched.
Command
Returns the program name used by this
Command
getDir()
- Method in class net.procsched.
Command
Returns the program directory used by this
Command
getMergeState()
- Method in class net.procsched.
Command
getRunning()
- Method in class net.procsched.
ProcessBatch
getStdErr()
- Method in class net.procsched.
Command
Similar to
Command.getStdOut()
but instead returns the stderr.
getStdIn()
- Method in class net.procsched.
Command
This method returns the stdin of the invoked process.
getStdOut()
- Method in class net.procsched.
Command
Returns the *process'* stdout.
M
mergeOutput()
- Method in class net.procsched.
Command
Merges the stderr and stdout
InputStream
such that by reading from the stdout you can get both stdout and stderr.
N
net.procsched
- package net.procsched
net.procsched.event
- package net.procsched.event
P
ProcessBatch
- Class in
net.procsched
ProcessBatch()
- Constructor for class net.procsched.
ProcessBatch
Creates a new instance of ProcessBatch
ProcessScheduler
- Class in
net.procsched
ProcessScheduler()
- Constructor for class net.procsched.
ProcessScheduler
Creates a new instance of ProcessScheduler
R
redirectStdErr(OutputStream, int)
- Method in class net.procsched.
Command
Redirects the stderr stream to the specified
OutputStream
.
redirectStdIn(InputStream, int)
- Method in class net.procsched.
Command
Uses this stream for reading stdin data.
redirectStdOut(OutputStream, int)
- Method in class net.procsched.
Command
Similar to how redirectStdErr() works, only this uses stdout.
remove(Command)
- Method in class net.procsched.
ProcessBatch
removeListener(CommandTerminationListener)
- Method in class net.procsched.
Command
Removes a listener to this
Command
object.
run()
- Method in class net.procsched.
Command
This method is called when the
Command
object should execute the native process.
running
- Variable in class net.procsched.
Command
True if the native process is running.
running()
- Method in class net.procsched.
ProcessBatch
S
Script
- Class in
net.procsched
Script()
- Constructor for class net.procsched.
Script
Creates a new instance of Script
Script(String)
- Constructor for class net.procsched.
Script
Script(String, String)
- Constructor for class net.procsched.
Script
Script(String, String, String[])
- Constructor for class net.procsched.
Script
Script(String, String, String[], String)
- Constructor for class net.procsched.
Script
setArgs(String[])
- Method in class net.procsched.
Command
Sets the arguements to be passed to the native program.
setBackGround(boolean)
- Method in class net.procsched.
ProcessBatch
setCommand(String)
- Method in class net.procsched.
Command
Set the name of the program to invoke.
setDir(String)
- Method in class net.procsched.
Command
Sets the directory which will be looked in for the program to invoke.
setRunning(int)
- Method in class net.procsched.
ProcessBatch
start
- Variable in class net.procsched.
Command
When the process starts.
T
time()
- Method in class net.procsched.
Command
Computes the time that this process has been running for.
A
B
C
D
E
F
G
M
N
P
R
S
T
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes