Package org.aspectj.tools.ajc
Klasse Main.CommandController
java.lang.Object
org.aspectj.tools.ajc.Main.CommandController
- Umschließende Klasse:
Main
controller for repeatable command delays until input or file changed or removed
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Felddetails
-
TAG_FILE_OPTION
-
INCREMENTAL_OPTION
-
MAX_DELAY
public static long MAX_DELAYmaximum 10-minute delay between filesystem checks -
DEFAULT_DELAY
public static long DEFAULT_DELAYdefault 5-second delay between filesystem checks
-
-
Konstruktordetails
-
CommandController
public CommandController()
-
-
Methodendetails
-
init
- Parameter:
args- read and strip incremental args from thissink- IMessageHandler for error messages- Gibt zurück:
- String[] remainder of args
-
running
public boolean running()- Gibt zurück:
- true if init(String[]) called but doRepeatCommand has not returned false
-
setDelay
public void setDelay(long delay) - Parameter:
delay- milliseconds between filesystem checks
-
incremental
public boolean incremental()- Gibt zurück:
- true if INCREMENTAL_OPTION or TAG_FILE_OPTION was in args
-
commandLineIncremental
public boolean commandLineIncremental()- Gibt zurück:
- true if INCREMENTAL_OPTION was in args
-
quit
public void quit() -
fileCheckDelay
protected void fileCheckDelay()delay between filesystem checks, returning if quit is set
-