All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bytex.snamp.gateway.ssh.ExitCommand Maven / Gradle / Ivy

The newest version!
package com.bytex.snamp.gateway.ssh;

import com.bytex.snamp.MethodStub;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.Options;

import java.io.PrintWriter;

/**
 * @author Roman Sakno
 * @version 2.0
 * @since 1.0
 */
final class ExitCommand extends AbstractManagementShellCommand {
    static final String COMMAND_NAME = "exit";
    static final String COMMAND_DESC = "Close the current terminal session";

    ExitCommand(final CommandExecutionContext context) {
        super(context);
    }

    @Override
    protected Options getCommandOptions() {
        return EMPTY_OPTIONS;
    }

    @Override
    @MethodStub
    protected void doCommand(final CommandLine input, final PrintWriter output) {

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy