Package com.ibm.di.fc.filetransferfc
Class EndPoint
- java.lang.Object
-
- com.ibm.di.fc.filetransferfc.EndPoint
-
public class EndPoint extends java.lang.ObjectThis class represents a file transfer end point object configuration
-
-
Field Summary
Fields Modifier and Type Field Description java.util.PropertiespropsConfiguration properties of an end point
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHost()Returns the hostname of an end pointjava.lang.StringgetKeystore()Returns the keystore of an end pointjava.lang.StringgetPassphrase()Returns the passphrase of an end pointjava.lang.StringgetPassword()Returns the user password of an end pointjava.lang.StringgetPath()Returns the file path of an end pointjava.lang.StringgetPort()Returns the port number of an end pointjava.lang.StringgetProtocol()Returns the protocol to connect to an end pointjava.lang.StringgetUser()Returns the username of an end pointbooleanisLocal()Returns the end point is Local/RemotevoidsetHost(java.lang.String host)Sets the hostname of an end pointvoidsetKeystore(java.lang.String key)Sets the keystore of an end pointvoidsetPassphrase(java.lang.String passph)Sets the passphrase of an end pointvoidsetPassword(java.lang.String pass)Sets the user password of an end pointvoidsetPath(java.lang.String path)Sets the path of an end pointvoidsetPort(java.lang.String po)Sets the port number of an end pointvoidsetProtocol(java.lang.String p)Sets the protocol to connect to an end pointvoidsetSourceFile(java.lang.String s)Sets the path of the source filevoidsetUser(java.lang.String user)Sets the username of an end point
-
-
-
Method Detail
-
getProtocol
public java.lang.String getProtocol()
Returns the protocol to connect to an end point- Returns:
- protocol to connect to an end point
-
setProtocol
public void setProtocol(java.lang.String p)
Sets the protocol to connect to an end point- Parameters:
p- protocol to connect to an end point
-
getHost
public java.lang.String getHost()
Returns the hostname of an end point- Returns:
- hostname of an end point
-
setHost
public void setHost(java.lang.String host)
Sets the hostname of an end point- Parameters:
host- hostname of an end point
-
getPort
public java.lang.String getPort()
Returns the port number of an end point- Returns:
- port number of an end point
-
setPort
public void setPort(java.lang.String po)
Sets the port number of an end point- Parameters:
po- port number of an end point
-
getPath
public java.lang.String getPath()
Returns the file path of an end point- Returns:
- file path of an end point
-
setPath
public void setPath(java.lang.String path)
Sets the path of an end point- Parameters:
path- path of an end point
-
getUser
public java.lang.String getUser()
Returns the username of an end point- Returns:
- username of an end point
-
setUser
public void setUser(java.lang.String user)
Sets the username of an end point- Parameters:
user- username of an end point
-
getPassword
public java.lang.String getPassword()
Returns the user password of an end point- Returns:
- user password of an end point
-
setPassword
public void setPassword(java.lang.String pass)
Sets the user password of an end point- Parameters:
pass- user password of an end point
-
getKeystore
public java.lang.String getKeystore()
Returns the keystore of an end point- Returns:
- keystore of an end point
-
setKeystore
public void setKeystore(java.lang.String key)
Sets the keystore of an end point- Parameters:
key- keystore of an end point
-
getPassphrase
public java.lang.String getPassphrase()
Returns the passphrase of an end point- Returns:
- passphrase of an end point
-
setPassphrase
public void setPassphrase(java.lang.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(java.lang.String s)
Sets the path of the source file- Parameters:
s- Path of the source file
-
-