Class DisconnectCommand
- java.lang.Object
-
- net.sf.antcontrib.antserver.commands.AbstractCommand
-
- net.sf.antcontrib.antserver.commands.DisconnectCommand
-
- All Implemented Interfaces:
java.io.Serializable
,Command
public class DisconnectCommand extends AbstractCommand implements Command
Place class description here.- Since:
- Author:
- Matthew Inger,
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Command
DISCONNECT_COMMAND
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.tools.ant.Project project, long contentLength, java.io.InputStream content)
Execute the command.void
validate(org.apache.tools.ant.Project project)
This should throw a build exception if the parameters are invalid.-
Methods inherited from class net.sf.antcontrib.antserver.commands.AbstractCommand
getContentLength, getContentStream, getReponseContentStream, getResponseContentLength, respond
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.antcontrib.antserver.Command
getContentLength, getContentStream, getReponseContentStream, getResponseContentLength, respond
-
-
-
-
Field Detail
-
DISCONNECT_COMMAND
public static Command DISCONNECT_COMMAND
-
-
Method Detail
-
validate
public void validate(org.apache.tools.ant.Project project)
Description copied from interface:Command
This should throw a build exception if the parameters are invalid.
-
execute
public boolean execute(org.apache.tools.ant.Project project, long contentLength, java.io.InputStream content) throws java.lang.Throwable
Description copied from interface:Command
Execute the command.
-
-