|
Sun Adapter for Batch/FTP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.connector.ssh.ftp.client.impl.PostTransferParamsImpl
public class PostTransferParamsImpl
jim.fu@sun.com TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
| Constructor Summary | |
|---|---|
PostTransferParamsImpl(SFTPConfiguration config)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalCommand()
return the operation name that will be performed on the local end before the file transfer. |
java.lang.String |
getLocalDirName()
return the local directory name LocalDirName; |
boolean |
getLocalDirNameIsPattern()
return a boolean indicating if LocalDirName is a batch name pattern
or not. |
java.lang.String |
getLocalFileName()
return the value for LocalFileName; |
boolean |
getLocalFileNameIsPattern()
return a boolean value indicating if the LocalFileName is a batch name pattern
or not; |
java.lang.String |
getRemoteCommand()
return the operation name that will be performed on the remote end before the file transfer. |
java.lang.String |
getRemoteDirName()
return the remote directory name RemoteDirName; |
boolean |
getRemoteDirNameIsPattern()
return a boolean indicating if the RemoteDirName is a batch name pattern
or not. |
java.lang.String |
getRemoteFileName()
return the value for RemoteFileName; |
boolean |
getRemoteFileNameIsPattern()
return a boolean value indicating if the RemoteFileName is a batch name pattern
or not; |
void |
setLocalCommand(java.lang.String cmd)
set the local end command to cmd; |
void |
setLocalDirName(java.lang.String dir)
set remote directory name. |
void |
setLocalDirNameIsPattern(boolean b)
set the boolean flag indicating if the LocalDirName is a batch name pattern; |
void |
setLocalFileName(java.lang.String file)
set the name (could be a name pattern) of the local file name as Post Transfer operation parameter. |
void |
setLocalFileNameIsPattern(boolean b)
set the flag indicating if LocalFileName is a name pattern; |
void |
setRemoteCommand(java.lang.String cmd)
set the remote command to cmd; |
void |
setRemoteDirName(java.lang.String dir)
set remote directory name RemoteDirName. |
void |
setRemoteDirNameIsPattern(boolean b)
set the boolean flag indicating if the RemoteDirName is a batch name pattern; |
void |
setRemoteFileName(java.lang.String file)
set the name (could be a name pattern) of the remote file name RemoteFileName
as Post Transfer operation parameter. |
void |
setRemoteFileNameIsPattern(boolean b)
set the flag indicating if RemoteFileName is a name pattern; |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostTransferParamsImpl(SFTPConfiguration config)
| Method Detail |
|---|
public java.lang.String getRemoteCommand()
PostTransferParams
getRemoteCommand in interface PostTransferParamsgetRemoteCommand in interface com.stc.connector.TransferParamspublic java.lang.String getRemoteDirName()
PostTransferParamsRemoteDirName;
getRemoteDirName in interface PostTransferParamsgetRemoteDirName in interface com.stc.connector.TransferParamsRemoteDirName (could be a batch name pattern
which has to be expanded into a real remote directory name);public boolean getRemoteDirNameIsPattern()
PostTransferParamsRemoteDirName is a batch name pattern
or not.
getRemoteDirNameIsPattern in interface PostTransferParamsgetRemoteDirNameIsPattern in interface com.stc.connector.TransferParamsRemoteDirName is a batch name pattern, false - the value
for the RemoteDirName is taken as a literal;public java.lang.String getRemoteFileName()
PostTransferParamsRemoteFileName;
getRemoteFileName in interface PostTransferParamsgetRemoteFileName in interface com.stc.connector.TransferParamsRemoteFileName (could be a batch name pattern
which has to be expanded into a real remote file name);public boolean getRemoteFileNameIsPattern()
PostTransferParamsRemoteFileName is a batch name pattern
or not;
getRemoteFileNameIsPattern in interface PostTransferParamsgetRemoteFileNameIsPattern in interface com.stc.connector.TransferParamsRemoteFileName is a batch name pattern, false - the value for the
RemoteFileName is taken as a literal;public void setRemoteCommand(java.lang.String cmd)
PostTransferParamscmd;
setRemoteCommand in interface PostTransferParamssetRemoteCommand in interface com.stc.connector.TransferParamscmd - - "None", "Rename", "Delete", the Post transfer command;public void setRemoteDirName(java.lang.String dir)
PostTransferParamsRemoteDirName.
setRemoteDirName in interface PostTransferParamssetRemoteDirName in interface com.stc.connector.TransferParamsdir - - the remote directory name RemoteDirName
could be a name patternpublic void setRemoteDirNameIsPattern(boolean b)
PostTransferParamsRemoteDirName is a batch name pattern;
setRemoteDirNameIsPattern in interface PostTransferParamssetRemoteDirNameIsPattern in interface com.stc.connector.TransferParamsb - - true - the RemoteDirName is a name pattern, false - not a pattern;public void setRemoteFileName(java.lang.String file)
PostTransferParamsRemoteFileName
as Post Transfer operation parameter.
setRemoteFileName in interface PostTransferParamssetRemoteFileName in interface com.stc.connector.TransferParamsfile - - the file name;public void setRemoteFileNameIsPattern(boolean b)
PostTransferParamsRemoteFileName is a name pattern;
setRemoteFileNameIsPattern in interface PostTransferParamssetRemoteFileNameIsPattern in interface com.stc.connector.TransferParamspublic java.lang.String getLocalCommand()
PostTransferParams
getLocalCommand in interface PostTransferParamsgetLocalCommand in interface com.stc.connector.TransferParamspublic java.lang.String getLocalDirName()
PostTransferParamsLocalDirName;
getLocalDirName in interface PostTransferParamsgetLocalDirName in interface com.stc.connector.TransferParamspublic boolean getLocalDirNameIsPattern()
PostTransferParamsLocalDirName is a batch name pattern
or not.
getLocalDirNameIsPattern in interface PostTransferParamsgetLocalDirNameIsPattern in interface com.stc.connector.TransferParamsLocalDirName is a batch name pattern, false - the value
for the LocalDirName is taken as a literal;public java.lang.String getLocalFileName()
PostTransferParamsLocalFileName;
getLocalFileName in interface PostTransferParamsgetLocalFileName in interface com.stc.connector.TransferParamspublic boolean getLocalFileNameIsPattern()
PostTransferParamsLocalFileName is a batch name pattern
or not;
getLocalFileNameIsPattern in interface PostTransferParamsgetLocalFileNameIsPattern in interface com.stc.connector.TransferParamsLocalFileName is a batch name pattern, false - the value for the
LocalFileName is taken as a literal;public void setLocalCommand(java.lang.String cmd)
PostTransferParamscmd;
setLocalCommand in interface PostTransferParamssetLocalCommand in interface com.stc.connector.TransferParamscmd - - "None", "Rename", "Delete", the Post transfer command;public void setLocalDirName(java.lang.String dir)
PostTransferParams
setLocalDirName in interface PostTransferParamssetLocalDirName in interface com.stc.connector.TransferParamspublic void setLocalDirNameIsPattern(boolean b)
PostTransferParamsLocalDirName is a batch name pattern;
setLocalDirNameIsPattern in interface PostTransferParamssetLocalDirNameIsPattern in interface com.stc.connector.TransferParamsb - - true - the LocalDirName is a name pattern, false - not a pattern;public void setLocalFileName(java.lang.String file)
PostTransferParams
setLocalFileName in interface PostTransferParamssetLocalFileName in interface com.stc.connector.TransferParamsfile - - the file name;public void setLocalFileNameIsPattern(boolean b)
PostTransferParamsLocalFileName is a name pattern;
setLocalFileNameIsPattern in interface PostTransferParamssetLocalFileNameIsPattern in interface com.stc.connector.TransferParams
|
Sun Adapter for Batch/FTP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||