|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sweetohm.ant.server.command.Exit
public class Exit
Exit command, to shutdown the server. To do so, an
InterruptedException
is thrown and catched by the server loop
to release the main thread of Ant (and terminate the build, that is the
server mode).
Constructor Summary | |
---|---|
Exit()
|
Method Summary | |
---|---|
static void |
execute(java.util.List args,
org.apache.tools.ant.Project project,
java.io.Writer out)
Execute the exit command by throwing an InterruptedException . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Exit()
Method Detail |
---|
public static void execute(java.util.List args, org.apache.tools.ant.Project project, java.io.Writer out) throws java.lang.InterruptedException
InterruptedException
.
args
- The command arguments as a List
.project
- The Ant Project
.out
- The Writer
to print on.
java.lang.InterruptedException
- To stop the build process. This is normal!!!
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |