Class DisconnectCommand

    • 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.
        Specified by:
        validate in interface Command
      • 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.
        Specified by:
        execute in interface Command
        Parameters:
        project - The project which is being executed
        Returns:
        If true, the connection will be closed
        Throws:
        java.lang.Throwable