io.smartdatalake.workflow.connection
SftpFileRefConnection
Companion object SftpFileRefConnection
case class SftpFileRefConnection(id: ConnectionId, host: String, port: Int = 22, authMode: AuthMode, ignoreHostKeyVerification: Boolean = false, maxParallelConnections: Int = 1, connectionPoolMaxIdleTimeSec: Int = 3, metadata: Option[ConnectionMetadata] = None) extends Connection with Product with Serializable
SFTP Connection information
- id
unique id of this connection
- host
sftp host
- port
port of sftp service, default is 22
- authMode
authentication information: for now BasicAuthMode and PublicKeyAuthMode are supported.
- ignoreHostKeyVerification
do not validate host key if true, default is false
- maxParallelConnections
number of parallel sftp connections created by an instance of this connection
- connectionPoolMaxIdleTimeSec
timeout to close unused connections in the pool
- Annotations
- @Scaladoc()
- Alphabetic
- By Inheritance
- SftpFileRefConnection
- Serializable
- Serializable
- Product
- Equals
- Connection
- AtlasExportable
- ParsableFromConfig
- SdlConfigObject
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SftpFileRefConnection(id: ConnectionId, host: String, port: Int = 22, authMode: AuthMode, ignoreHostKeyVerification: Boolean = false, maxParallelConnections: Int = 1, connectionPoolMaxIdleTimeSec: Int = 3, metadata: Option[ConnectionMetadata] = None)
- id
unique id of this connection
- host
sftp host
- port
port of sftp service, default is 22
- authMode
authentication information: for now BasicAuthMode and PublicKeyAuthMode are supported.
- ignoreHostKeyVerification
do not validate host key if true, default is false
- maxParallelConnections
number of parallel sftp connections created by an instance of this connection
- connectionPoolMaxIdleTimeSec
timeout to close unused connections in the pool
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
atlasName: String
- Definition Classes
- Connection → AtlasExportable
-
def
atlasQualifiedName(prefix: String): String
- Definition Classes
- AtlasExportable
- val authMode: AuthMode
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val connectionPoolMaxIdleTimeSec: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def execWithSFtpClient[A](func: (SFTPClient) ⇒ A): A
-
def
factory: FromConfigFactory[Connection]
Returns the factory that can parse this type (that is, type
CO).Returns the factory that can parse this type (that is, type
CO).Typically, implementations of this method should return the companion object of the implementing class. The companion object in turn should implement FromConfigFactory.
- returns
the factory (object) for this class.
- Definition Classes
- SftpFileRefConnection → ParsableFromConfig
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val host: String
-
val
id: ConnectionId
A unique identifier for this instance.
A unique identifier for this instance.
- Definition Classes
- SftpFileRefConnection → Connection → SdlConfigObject
- val ignoreHostKeyVerification: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxParallelConnections: Int
-
val
metadata: Option[ConnectionMetadata]
Additional metadata for the Connection
Additional metadata for the Connection
- Definition Classes
- SftpFileRefConnection → Connection
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val pool: GenericObjectPool[SFTPClient]
- val port: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def test(): Unit
-
def
toStringShort: String
- Definition Classes
- Connection
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated