Class ChutneyCommandFactory

java.lang.Object
fr.enedis.chutney.action.ssh.sshd.ChutneyCommandFactory
All Implemented Interfaces:
org.apache.sshd.server.command.CommandFactory

public class ChutneyCommandFactory extends Object implements org.apache.sshd.server.command.CommandFactory
  • Constructor Details

    • ChutneyCommandFactory

      public ChutneyCommandFactory(SshServerMock mock)
  • Method Details

    • createCommand

      public org.apache.sshd.server.command.Command createCommand(org.apache.sshd.server.channel.ChannelSession channel, String command) throws IOException
      Specified by:
      createCommand in interface org.apache.sshd.server.command.CommandFactory
      Throws:
      IOException