Class SftpClientModel

java.lang.Object
org.citrusframework.model.config.sftp.SftpClientModel

public class SftpClientModel 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="host" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="port" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="username" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="private-key-path" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="private-key-password" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="strict-host-checking" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="known-hosts-path" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="preferred-authentications" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="session-configs" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="message-correlator" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="actor" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="auto-read-files" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="local-passive-mode" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="polling-interval" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="error-strategy">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="throwsException"/>
             <enumeration value="propagateError"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • id

      protected String id
    • host

      protected String host
    • port

      protected String port
    • username

      protected String username
    • password

      protected String password
    • privateKeyPath

      protected String privateKeyPath
      Path to a private key, which can be either a plain file path or an class resource if prefixed with 'classpath:'
    • privateKeyPassword

      protected String privateKeyPassword
      Optional password for the private key
    • strictHostChecking

      protected Boolean strictHostChecking
    • knownHostsPath

      protected String knownHostsPath
      Path to a known hosts file. If prefixed with 'classpath:' this file is looked up as a resource in the classpath.
    • preferredAuthentications

      protected String preferredAuthentications
      Ordered list of preferred authentications. Client will try to authentication with these methods first.
    • sessionConfigs

      protected String sessionConfigs
      Reference to a map of session properties as key-value pairs. Applied on Jsch session on client.
    • messageCorrelator

      protected String messageCorrelator
    • actor

      protected String actor
    • timeout

      protected String timeout
    • autoReadFiles

      protected Boolean autoReadFiles
    • localPassiveMode

      protected Boolean localPassiveMode
    • pollingInterval

      protected String pollingInterval
    • errorStrategy

      protected String errorStrategy
  • Constructor Details

    • SftpClientModel

      public SftpClientModel()
  • 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
    • getHost

      public String getHost()
      Ruft den Wert der host-Eigenschaft ab.
      Returns:
      possible object is String
    • setHost

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

      public String getPort()
      Ruft den Wert der port-Eigenschaft ab.
      Returns:
      possible object is String
    • setPort

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

      public String getUsername()
      Ruft den Wert der username-Eigenschaft ab.
      Returns:
      possible object is String
    • setUsername

      public void setUsername(String value)
      Legt den Wert der username-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getPassword

      public String getPassword()
      Ruft den Wert der password-Eigenschaft ab.
      Returns:
      possible object is String
    • setPassword

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

      public String getPrivateKeyPath()
      Path to a private key, which can be either a plain file path or an class resource if prefixed with 'classpath:'
      Returns:
      possible object is String
    • setPrivateKeyPath

      public void setPrivateKeyPath(String value)
      Legt den Wert der privateKeyPath-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • getPrivateKeyPassword

      public String getPrivateKeyPassword()
      Optional password for the private key
      Returns:
      possible object is String
    • setPrivateKeyPassword

      public void setPrivateKeyPassword(String value)
      Legt den Wert der privateKeyPassword-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • isStrictHostChecking

      public Boolean isStrictHostChecking()
      Ruft den Wert der strictHostChecking-Eigenschaft ab.
      Returns:
      possible object is Boolean
    • setStrictHostChecking

      public void setStrictHostChecking(Boolean value)
      Legt den Wert der strictHostChecking-Eigenschaft fest.
      Parameters:
      value - allowed object is Boolean
    • getKnownHostsPath

      public String getKnownHostsPath()
      Path to a known hosts file. If prefixed with 'classpath:' this file is looked up as a resource in the classpath.
      Returns:
      possible object is String
    • setKnownHostsPath

      public void setKnownHostsPath(String value)
      Legt den Wert der knownHostsPath-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • getPreferredAuthentications

      public String getPreferredAuthentications()
      Ordered list of preferred authentications. Client will try to authentication with these methods first.
      Returns:
      possible object is String
    • setPreferredAuthentications

      public void setPreferredAuthentications(String value)
      Legt den Wert der preferredAuthentications-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • getSessionConfigs

      public String getSessionConfigs()
      Reference to a map of session properties as key-value pairs. Applied on Jsch session on client.
      Returns:
      possible object is String
    • setSessionConfigs

      public void setSessionConfigs(String value)
      Legt den Wert der sessionConfigs-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • getMessageCorrelator

      public String getMessageCorrelator()
      Ruft den Wert der messageCorrelator-Eigenschaft ab.
      Returns:
      possible object is String
    • setMessageCorrelator

      public void setMessageCorrelator(String value)
      Legt den Wert der messageCorrelator-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getActor

      public String getActor()
      Ruft den Wert der actor-Eigenschaft ab.
      Returns:
      possible object is String
    • setActor

      public void setActor(String value)
      Legt den Wert der actor-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getTimeout

      public String getTimeout()
      Ruft den Wert der timeout-Eigenschaft ab.
      Returns:
      possible object is String
    • setTimeout

      public void setTimeout(String value)
      Legt den Wert der timeout-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • isAutoReadFiles

      public Boolean isAutoReadFiles()
      Ruft den Wert der autoReadFiles-Eigenschaft ab.
      Returns:
      possible object is Boolean
    • setAutoReadFiles

      public void setAutoReadFiles(Boolean value)
      Legt den Wert der autoReadFiles-Eigenschaft fest.
      Parameters:
      value - allowed object is Boolean
    • isLocalPassiveMode

      public Boolean isLocalPassiveMode()
      Ruft den Wert der localPassiveMode-Eigenschaft ab.
      Returns:
      possible object is Boolean
    • setLocalPassiveMode

      public void setLocalPassiveMode(Boolean value)
      Legt den Wert der localPassiveMode-Eigenschaft fest.
      Parameters:
      value - allowed object is Boolean
    • getPollingInterval

      public String getPollingInterval()
      Ruft den Wert der pollingInterval-Eigenschaft ab.
      Returns:
      possible object is String
    • setPollingInterval

      public void setPollingInterval(String value)
      Legt den Wert der pollingInterval-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getErrorStrategy

      public String getErrorStrategy()
      Ruft den Wert der errorStrategy-Eigenschaft ab.
      Returns:
      possible object is String
    • setErrorStrategy

      public void setErrorStrategy(String value)
      Legt den Wert der errorStrategy-Eigenschaft fest.
      Parameters:
      value - allowed object is String