|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.CommandLineParser
stella.util.SchedulerAccess
public class SchedulerAccess
Allows command line access to a remote SchedulerControlling
interface, in particular it allows adding and removing targets as well as
updating of certain properties.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.CommandLineParser |
|---|
CommandLineParser.Test |
| Field Summary | |
|---|---|
static String |
FOOT
A footer usage message. |
static String |
ONESWITCHES
The command line switches understood by this access class, one arg. |
static String |
TWOSWITCHES
The command line switches understood by this access class, two arg. |
static Map |
USE
The usage map. |
static String |
ZEROSWITCHES
The command line switches understood by this class with no arg. |
| Constructor Summary | |
|---|---|
SchedulerAccess()
Constructs a new camera access instance. |
|
| Method Summary | |
|---|---|
static void |
main(String[] arg)
Parses the command line arguments and procceed with transfering to a registry-bound target list. |
private static void |
printList(List l)
Prints the list, item by item on a line. |
private Remote |
processOn()
Process the command line arguments, when parsing was already done. |
protected boolean |
processSwitches(SchedulerControlling master)
Process the command line switches found. |
| Methods inherited from class util.CommandLineParser |
|---|
getArguments, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ZEROSWITCHES
public static final String ONESWITCHES
public static final String TWOSWITCHES
public static Map USE
public static final String FOOT
| Constructor Detail |
|---|
public SchedulerAccess()
| Method Detail |
|---|
private Remote processOn()
protected boolean processSwitches(SchedulerControlling master)
throws ParseException,
TransformerException
ListenerControlling and one of the switches defined in
ONESWITCHES is given, the appropriate method of the listener
control is called. Note that the command line must be parsed before
calling this method.
ParseException
TransformerExceptionprivate static final void printList(List l)
public static void main(String[] arg)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||