| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ABORT_MESSAGE
Message String for any AbortException thrown from ICommand API's
|
| Constructor and Description |
|---|
AjdtCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doCommand(IMessageHandler handler,
boolean repeat)
Delegate of both runCommand and repeatCommand.
|
static AjBuildConfig |
genBuildConfig(java.lang.String[] args,
CountingMessageHandler handler)
This creates a build configuration for the arguments.
|
protected static IMessage.Kind |
inferKind(java.lang.String message) |
boolean |
repeatCommand(IMessageHandler handler)
Run AspectJ compiler, wrapping any exceptions thrown as
ABORT messages (containing ABORT_MESSAGE String).
|
boolean |
runCommand(java.lang.String[] args,
IMessageHandler handler)
Run AspectJ compiler, wrapping any exceptions thrown as
ABORT messages (containing ABORT_MESSAGE String).
|
public static final java.lang.String ABORT_MESSAGE
public boolean runCommand(java.lang.String[] args,
IMessageHandler handler)
runCommand in interface ICommandargs - the String[] for the compilerhandler - the IMessageHandler for any messagesICommand.runCommand(String[], IMessageHandler)public boolean repeatCommand(IMessageHandler handler)
repeatCommand in interface ICommandhandler - the IMessageHandler for any messagesICommand.repeatCommand(IMessageHandler)protected boolean doCommand(IMessageHandler handler, boolean repeat)
handler - the IMessageHandler sink for any messagesrepeat - if true, do incremental build, else do batch buildpublic static AjBuildConfig genBuildConfig(java.lang.String[] args, CountingMessageHandler handler)
protected static IMessage.Kind inferKind(java.lang.String message)