org.ow2.petals.bc.sftp
Class SFTPConstants

java.lang.Object
  extended by org.ow2.petals.bc.sftp.SFTPConstants

public class SFTPConstants
extends java.lang.Object

A few constants for parametrizing things like operation name, component's configuration attribute name etc.

Author:
Charles Casadei - eBM WebSourcing

Field Summary
static java.lang.String BODY
          The content of the message.
static java.lang.String DEFAULT_FILENAME
          The default filename for the PUT operation.
static int DEFAULT_MAX_CONNECTION
          Default maximum number of simultaneous connection (unlimited)
static long DEFAULT_SSH_MAX_IDLE_TIME
          Default max idle connection time (milliseconds).
static int DEFAULT_SSH_PORT
          Default SSH port.
static java.lang.String DEL
          operation that removes the specified file.
static java.lang.String DIR
          List the contents of the current remote working directory.
static java.lang.String GET
          Get one specified file from the SFTP server and return it as an XML message.
static java.lang.String GETASATTACHMENT
          Get one specified file from the SFTP server and return it as attachment.
static java.lang.String MGET
          Get files from the SFTP server and return them as attachments.
static java.lang.String MPUT
          Copy incoming message attachments on the SFTP server.
static java.lang.String PUT
          Copy incoming XML message on the SFTP server.
static java.lang.String SFTP_CONNECTION
          The SFTP connection element
static java.lang.String SFTP_FILENAME
          The SFTP filepattern element.
static java.lang.String SFTP_FOLDER
          The working directory.
static java.lang.String SFTP_INTERFACE
          Interface name.
static java.lang.String SFTP_MAX_CONNECTION
          Specified the maximum number of simultaneous connection
static java.lang.String SFTP_MAX_IDLE_TIME
          The SFTP max idle connection time element (minutes).
static java.lang.String SFTP_OVERWRITE
          The sftp "overwrite" element
static java.lang.String SFTP_PASSPHRASE
          Passpharse property.
static java.lang.String SFTP_PASSWORD
          The SFTP password property.
static java.lang.String SFTP_PORT
          The SFTP port property.
static java.lang.String SFTP_PRIVATE_KEY
          Private key path property.
static java.lang.String SFTP_SERVER
          The SFTP server property.
static java.lang.String SFTP_SERVICE_NS
          Reserved XML namespace.
static java.lang.String SFTP_USER
          The SFTP login property.
static java.lang.String SSH_AUTHENTICATION
           
static java.lang.String STANDARD_PUT
          Put the incoming message onto the default directory of the SFTP server.
 
Constructor Summary
SFTPConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SSH_PORT

public static final int DEFAULT_SSH_PORT
Default SSH port.

See Also:
Constant Field Values

DEFAULT_FILENAME

public static final java.lang.String DEFAULT_FILENAME
The default filename for the PUT operation.

See Also:
Constant Field Values

DEFAULT_SSH_MAX_IDLE_TIME

public static final long DEFAULT_SSH_MAX_IDLE_TIME
Default max idle connection time (milliseconds).

See Also:
Constant Field Values

DEFAULT_MAX_CONNECTION

public static final int DEFAULT_MAX_CONNECTION
Default maximum number of simultaneous connection (unlimited)

See Also:
Constant Field Values

SFTP_SERVICE_NS

public static final java.lang.String SFTP_SERVICE_NS
Reserved XML namespace.

See Also:
Constant Field Values

SFTP_INTERFACE

public static final java.lang.String SFTP_INTERFACE
Interface name.

See Also:
Constant Field Values

SFTP_CONNECTION

public static final java.lang.String SFTP_CONNECTION
The SFTP connection element

See Also:
Constant Field Values

SFTP_SERVER

public static final java.lang.String SFTP_SERVER
The SFTP server property.

See Also:
Constant Field Values

SFTP_PORT

public static final java.lang.String SFTP_PORT
The SFTP port property.

See Also:
Constant Field Values

SFTP_FOLDER

public static final java.lang.String SFTP_FOLDER
The working directory.

See Also:
Constant Field Values

SFTP_FILENAME

public static final java.lang.String SFTP_FILENAME
The SFTP filepattern element.

See Also:
Constant Field Values

SFTP_OVERWRITE

public static final java.lang.String SFTP_OVERWRITE
The sftp "overwrite" element

See Also:
Constant Field Values

SFTP_MAX_IDLE_TIME

public static final java.lang.String SFTP_MAX_IDLE_TIME
The SFTP max idle connection time element (minutes).

See Also:
Constant Field Values

SFTP_MAX_CONNECTION

public static final java.lang.String SFTP_MAX_CONNECTION
Specified the maximum number of simultaneous connection

See Also:
Constant Field Values

SSH_AUTHENTICATION

public static final java.lang.String SSH_AUTHENTICATION
See Also:
Constant Field Values

SFTP_USER

public static final java.lang.String SFTP_USER
The SFTP login property.

See Also:
Constant Field Values

SFTP_PASSWORD

public static final java.lang.String SFTP_PASSWORD
The SFTP password property.

See Also:
Constant Field Values

SFTP_PRIVATE_KEY

public static final java.lang.String SFTP_PRIVATE_KEY
Private key path property.

See Also:
Constant Field Values

SFTP_PASSPHRASE

public static final java.lang.String SFTP_PASSPHRASE
Passpharse property.

See Also:
Constant Field Values

DIR

public static final java.lang.String DIR
List the contents of the current remote working directory.

See Also:
Constant Field Values

PUT

public static final java.lang.String PUT
Copy incoming XML message on the SFTP server.

See Also:
Constant Field Values

MPUT

public static final java.lang.String MPUT
Copy incoming message attachments on the SFTP server.

See Also:
Constant Field Values

STANDARD_PUT

public static final java.lang.String STANDARD_PUT
Put the incoming message onto the default directory of the SFTP server.

See Also:
Constant Field Values

GET

public static final java.lang.String GET
Get one specified file from the SFTP server and return it as an XML message.

See Also:
Constant Field Values

GETASATTACHMENT

public static final java.lang.String GETASATTACHMENT
Get one specified file from the SFTP server and return it as attachment.

See Also:
Constant Field Values

DEL

public static final java.lang.String DEL
operation that removes the specified file.

See Also:
Constant Field Values

MGET

public static final java.lang.String MGET
Get files from the SFTP server and return them as attachments.

See Also:
Constant Field Values

BODY

public static final java.lang.String BODY
The content of the message.

See Also:
Constant Field Values
Constructor Detail

SFTPConstants

public SFTPConstants()


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.