org.jenkinsci.main.modules.sshd
Class CLICommandAdapter

java.lang.Object
  extended by org.jenkinsci.main.modules.sshd.SshCommandFactory
      extended by org.jenkinsci.main.modules.sshd.CLICommandAdapter
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class CLICommandAdapter
extends SshCommandFactory

SshCommandFactory that invokes CLICommands.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jenkinsci.main.modules.sshd.SshCommandFactory
SshCommandFactory.CommandLine
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
CLICommandAdapter()
           
 
Method Summary
 org.apache.sshd.server.Command create(SshCommandFactory.CommandLine commandLine)
          If this factory understands the specified command, return a non-null Command and that command will be used to handle the request.
 
Methods inherited from class org.jenkinsci.main.modules.sshd.SshCommandFactory
all
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLICommandAdapter

public CLICommandAdapter()
Method Detail

create

public org.apache.sshd.server.Command create(SshCommandFactory.CommandLine commandLine)
Description copied from class: SshCommandFactory
If this factory understands the specified command, return a non-null Command and that command will be used to handle the request. Otherwise return null to let other SshCommandFactorys handle it.

Specified by:
create in class SshCommandFactory
Parameters:
commandLine - Represents the command line the client wants to invoke.


Copyright © 2004-2012. All Rights Reserved.