org.aspectj.tools.ajc
Class Main.CommandController
java.lang.Object
org.aspectj.tools.ajc.Main.CommandController
- Enclosing class:
- Main
public static class Main.CommandController
- extends java.lang.Object
controller for repeatable command delays until input or file changed or removed
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG_FILE_OPTION
public static java.lang.String TAG_FILE_OPTION
INCREMENTAL_OPTION
public static java.lang.String INCREMENTAL_OPTION
MAX_DELAY
public static long MAX_DELAY
- maximum 10-minute delay between filesystem checks
DEFAULT_DELAY
public static long DEFAULT_DELAY
- default 5-second delay between filesystem checks
Main.CommandController
public Main.CommandController()
init
public java.lang.String[] init(java.lang.String[] args,
IMessageHandler sink)
- Parameters:
argList
- read and strip incremental args from thissink
- IMessageHandler for error messages
- Returns:
- String[] remainder of args
running
public boolean running()
- Returns:
- true if init(String[]) called but doRepeatCommand has not returned false
setDelay
public void setDelay(long delay)
- Parameters:
delay
- milliseconds between filesystem checks
incremental
public boolean incremental()
- Returns:
- true if INCREMENTAL_OPTION or TAG_FILE_OPTION was in args
commandLineIncremental
public boolean commandLineIncremental()
- Returns:
- true if INCREMENTAL_OPTION was in args
quit
public void quit()
fileCheckDelay
protected void fileCheckDelay()
- delay between filesystem checks, returning if quit is set