org.crsh.ssh
Class SSHPlugin

java.lang.Object
  extended by org.crsh.plugin.CRaSHPlugin<SSHPlugin>
      extended by org.crsh.ssh.SSHPlugin

public class SSHPlugin
extends CRaSHPlugin<SSHPlugin>


Field Summary
static PropertyDescriptor<String> AUTH
          The authentication plugin to use.
private  SSHLifeCycle lifeCycle
          .
static PropertyDescriptor<String> SSH_KEYPATH
          The SSH key path.
static PropertyDescriptor<Integer> SSH_PORT
          The SSH port.
 
Fields inherited from class org.crsh.plugin.CRaSHPlugin
CONSTRUCTED, FAILED, INITIALIZED, INITIALIZING, log
 
Constructor Summary
SSHPlugin()
           
 
Method Summary
protected  Iterable<PropertyDescriptor<?>> createConfigurationCapabilities()
          Returns a list of PropertyDescriptor this plugin requires for its configuration.
 void destroy()
          Implement this method to know about destroy life cycle callback.
 SSHPlugin getImplementation()
          Returns the implementation.
 void init()
          Implement this method to know about init life cycle callback.
 
Methods inherited from class org.crsh.plugin.CRaSHPlugin
getConfigurationCapabilities, getContext, getStatus, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SSH_PORT

public static final PropertyDescriptor<Integer> SSH_PORT
The SSH port.


SSH_KEYPATH

public static final PropertyDescriptor<String> SSH_KEYPATH
The SSH key path.


AUTH

public static final PropertyDescriptor<String> AUTH
The authentication plugin to use.


lifeCycle

private SSHLifeCycle lifeCycle
.

Constructor Detail

SSHPlugin

public SSHPlugin()
Method Detail

getImplementation

public SSHPlugin getImplementation()
Description copied from class: CRaSHPlugin
Returns the implementation.

Specified by:
getImplementation in class CRaSHPlugin<SSHPlugin>
Returns:
the implementation

createConfigurationCapabilities

protected Iterable<PropertyDescriptor<?>> createConfigurationCapabilities()
Description copied from class: CRaSHPlugin
Returns a list of PropertyDescriptor this plugin requires for its configuration.

Overrides:
createConfigurationCapabilities in class CRaSHPlugin<SSHPlugin>
Returns:
the configuration capabilities

init

public void init()
Description copied from class: CRaSHPlugin
Implement this method to know about init life cycle callback.

Overrides:
init in class CRaSHPlugin<SSHPlugin>

destroy

public void destroy()
Description copied from class: CRaSHPlugin
Implement this method to know about destroy life cycle callback.

Overrides:
destroy in class CRaSHPlugin<SSHPlugin>


Copyright © 2013 eXo Platform SAS. All Rights Reserved.