com.ibm.di.fc.filetransferfc
Class EndPoint

java.lang.Object
  extended by com.ibm.di.fc.filetransferfc.EndPoint

public class EndPoint
extends Object

This class represents a file transfer end point object configuration


Field Summary
 Properties props
          Configuration properties of an end point
 
Method Summary
 String getHost()
          Returns the hostname of an end point
 String getKeystore()
          Returns the keystore of an end point
 String getPassphrase()
          Returns the passphrase of an end point
 String getPassword()
          Returns the user password of an end point
 String getPath()
          Returns the file path of an end point
 String getPort()
          Returns the port number of an end point
 String getProtocol()
          Returns the protocol to connect to an end point
 String getUser()
          Returns the username of an end point
 boolean isLocal()
          Returns the end point is Local/Remote
 void setHost(String host)
          Sets the hostname of an end point
 void setKeystore(String key)
          Sets the keystore of an end point
 void setPassphrase(String passph)
          Sets the passphrase of an end point
 void setPassword(String pass)
          Sets the user password of an end point
 void setPath(String path)
          Sets the path of an end point
 void setPort(String po)
          Sets the port number of an end point
 void setProtocol(String p)
          Sets the protocol to connect to an end point
 void setSourceFile(String s)
          Sets the path of the source file
 void setUser(String user)
          Sets the username of an end point
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

props

public Properties props
Configuration properties of an end point

Method Detail

getProtocol

public String getProtocol()
Returns the protocol to connect to an end point

Returns:
protocol to connect to an end point

setProtocol

public void setProtocol(String p)
Sets the protocol to connect to an end point

Parameters:
p - protocol to connect to an end point

getHost

public String getHost()
Returns the hostname of an end point

Returns:
hostname of an end point

setHost

public void setHost(String host)
Sets the hostname of an end point

Parameters:
host - hostname of an end point

getPort

public String getPort()
Returns the port number of an end point

Returns:
port number of an end point

setPort

public void setPort(String po)
Sets the port number of an end point

Parameters:
po - port number of an end point

getPath

public String getPath()
Returns the file path of an end point

Returns:
file path of an end point

setPath

public void setPath(String path)
Sets the path of an end point

Parameters:
path - path of an end point

getUser

public String getUser()
Returns the username of an end point

Returns:
username of an end point

setUser

public void setUser(String user)
Sets the username of an end point

Parameters:
user - username of an end point

getPassword

public String getPassword()
Returns the user password of an end point

Returns:
user password of an end point

setPassword

public void setPassword(String pass)
Sets the user password of an end point

Parameters:
pass - user password of an end point

getKeystore

public String getKeystore()
Returns the keystore of an end point

Returns:
keystore of an end point

setKeystore

public void setKeystore(String key)
Sets the keystore of an end point

Parameters:
key - keystore of an end point

getPassphrase

public String getPassphrase()
Returns the passphrase of an end point

Returns:
passphrase of an end point

setPassphrase

public void setPassphrase(String passph)
Sets the passphrase of an end point

Parameters:
passph - passphrase of an end point

isLocal

public boolean isLocal()
Returns the end point is Local/Remote

Returns:
true if the end point is local

setSourceFile

public void setSourceFile(String s)
Sets the path of the source file

Parameters:
s - Path of the source file