Class SshServerModel

java.lang.Object
org.citrusframework.model.config.ssh.SshServerModel

public class SshServerModel extends Object

Java-Klasse für anonymous complex type.

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.


 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="port" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="auto-start" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="host-key-path" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="user-home-path" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="user" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="allowed-key-path" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="endpoint-adapter" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="interceptors" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="message-converter" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="debug-logging" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • id

      protected String id
    • port

      protected String port
      Port to listen to. Default is 22
    • autoStart

      protected Boolean autoStart
      Whether to start this SSH server automatically. Default is true. If set to false, a test action is responsible for starting/stopping the server
    • hostKeyPath

      protected String hostKeyPath
      Path to PEM encoded key pair (public and private key) which is used as host key. By default, a standard, fixed keypair is used.
    • userHomePath

      protected String userHomePath
      Path to user home directory. If not set ${user.dir}/target/{serverName}/home/{user} is used by default.
    • user

      protected String user
      User which is allowed to connect.
    • password

      protected String password
      Password for authenticating the user.
    • allowedKeyPath

      protected String allowedKeyPath
      Path to a public key in PEM format. If prefixed with 'classpath:' it is read as a resource.
    • endpointAdapter

      protected String endpointAdapter
    • interceptors

      protected String interceptors
    • messageConverter

      protected String messageConverter
    • debugLogging

      protected Boolean debugLogging
  • Constructor Details

    • SshServerModel

      public SshServerModel()
  • Method Details

    • getId

      public String getId()
      Ruft den Wert der id-Eigenschaft ab.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Legt den Wert der id-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getPort

      public String getPort()
      Port to listen to. Default is 22
      Returns:
      possible object is String
    • setPort

      public void setPort(String value)
      Legt den Wert der port-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • isAutoStart

      public Boolean isAutoStart()
      Whether to start this SSH server automatically. Default is true. If set to false, a test action is responsible for starting/stopping the server
      Returns:
      possible object is Boolean
    • setAutoStart

      public void setAutoStart(Boolean value)
      Legt den Wert der autoStart-Eigenschaft fest.
      Parameters:
      value - allowed object is Boolean
      See Also:
    • getHostKeyPath

      public String getHostKeyPath()
      Path to PEM encoded key pair (public and private key) which is used as host key. By default, a standard, fixed keypair is used.
      Returns:
      possible object is String
    • setHostKeyPath

      public void setHostKeyPath(String value)
      Legt den Wert der hostKeyPath-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • getUserHomePath

      public String getUserHomePath()
      Path to user home directory. If not set ${user.dir}/target/{serverName}/home/{user} is used by default.
      Returns:
      possible object is String
    • setUserHomePath

      public void setUserHomePath(String value)
      Legt den Wert der userHomePath-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • getUser

      public String getUser()
      User which is allowed to connect.
      Returns:
      possible object is String
    • setUser

      public void setUser(String value)
      Legt den Wert der user-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • getPassword

      public String getPassword()
      Password for authenticating the user.
      Returns:
      possible object is String
    • setPassword

      public void setPassword(String value)
      Legt den Wert der password-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • getAllowedKeyPath

      public String getAllowedKeyPath()
      Path to a public key in PEM format. If prefixed with 'classpath:' it is read as a resource.
      Returns:
      possible object is String
    • setAllowedKeyPath

      public void setAllowedKeyPath(String value)
      Legt den Wert der allowedKeyPath-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • getEndpointAdapter

      public String getEndpointAdapter()
      Ruft den Wert der endpointAdapter-Eigenschaft ab.
      Returns:
      possible object is String
    • setEndpointAdapter

      public void setEndpointAdapter(String value)
      Legt den Wert der endpointAdapter-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getInterceptors

      public String getInterceptors()
      Ruft den Wert der interceptors-Eigenschaft ab.
      Returns:
      possible object is String
    • setInterceptors

      public void setInterceptors(String value)
      Legt den Wert der interceptors-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getMessageConverter

      public String getMessageConverter()
      Ruft den Wert der messageConverter-Eigenschaft ab.
      Returns:
      possible object is String
    • setMessageConverter

      public void setMessageConverter(String value)
      Legt den Wert der messageConverter-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • isDebugLogging

      public Boolean isDebugLogging()
      Ruft den Wert der debugLogging-Eigenschaft ab.
      Returns:
      possible object is Boolean
    • setDebugLogging

      public void setDebugLogging(Boolean value)
      Legt den Wert der debugLogging-Eigenschaft fest.
      Parameters:
      value - allowed object is Boolean