|
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 PostTransferParams
getRemoteCommand
in interface com.stc.connector.TransferParams
public java.lang.String getRemoteDirName()
PostTransferParams
RemoteDirName
;
getRemoteDirName
in interface PostTransferParams
getRemoteDirName
in interface com.stc.connector.TransferParams
RemoteDirName
(could be a batch name pattern
which has to be expanded into a real remote directory name);public boolean getRemoteDirNameIsPattern()
PostTransferParams
RemoteDirName
is a batch name pattern
or not.
getRemoteDirNameIsPattern
in interface PostTransferParams
getRemoteDirNameIsPattern
in interface com.stc.connector.TransferParams
RemoteDirName
is a batch name pattern, false - the value
for the RemoteDirName
is taken as a literal;public java.lang.String getRemoteFileName()
PostTransferParams
RemoteFileName
;
getRemoteFileName
in interface PostTransferParams
getRemoteFileName
in interface com.stc.connector.TransferParams
RemoteFileName
(could be a batch name pattern
which has to be expanded into a real remote file name);public boolean getRemoteFileNameIsPattern()
PostTransferParams
RemoteFileName
is a batch name pattern
or not;
getRemoteFileNameIsPattern
in interface PostTransferParams
getRemoteFileNameIsPattern
in interface com.stc.connector.TransferParams
RemoteFileName
is a batch name pattern, false - the value for the
RemoteFileName
is taken as a literal;public void setRemoteCommand(java.lang.String cmd)
PostTransferParams
cmd
;
setRemoteCommand
in interface PostTransferParams
setRemoteCommand
in interface com.stc.connector.TransferParams
cmd
- - "None", "Rename", "Delete", the Post transfer command;public void setRemoteDirName(java.lang.String dir)
PostTransferParams
RemoteDirName
.
setRemoteDirName
in interface PostTransferParams
setRemoteDirName
in interface com.stc.connector.TransferParams
dir
- - the remote directory name RemoteDirName
could be a name patternpublic void setRemoteDirNameIsPattern(boolean b)
PostTransferParams
RemoteDirName
is a batch name pattern;
setRemoteDirNameIsPattern
in interface PostTransferParams
setRemoteDirNameIsPattern
in interface com.stc.connector.TransferParams
b
- - true - the RemoteDirName
is a name pattern, false - not a pattern;public void setRemoteFileName(java.lang.String file)
PostTransferParams
RemoteFileName
as Post Transfer operation parameter.
setRemoteFileName
in interface PostTransferParams
setRemoteFileName
in interface com.stc.connector.TransferParams
file
- - the file name;public void setRemoteFileNameIsPattern(boolean b)
PostTransferParams
RemoteFileName
is a name pattern;
setRemoteFileNameIsPattern
in interface PostTransferParams
setRemoteFileNameIsPattern
in interface com.stc.connector.TransferParams
public java.lang.String getLocalCommand()
PostTransferParams
getLocalCommand
in interface PostTransferParams
getLocalCommand
in interface com.stc.connector.TransferParams
public java.lang.String getLocalDirName()
PostTransferParams
LocalDirName
;
getLocalDirName
in interface PostTransferParams
getLocalDirName
in interface com.stc.connector.TransferParams
public boolean getLocalDirNameIsPattern()
PostTransferParams
LocalDirName
is a batch name pattern
or not.
getLocalDirNameIsPattern
in interface PostTransferParams
getLocalDirNameIsPattern
in interface com.stc.connector.TransferParams
LocalDirName
is a batch name pattern, false - the value
for the LocalDirName
is taken as a literal;public java.lang.String getLocalFileName()
PostTransferParams
LocalFileName
;
getLocalFileName
in interface PostTransferParams
getLocalFileName
in interface com.stc.connector.TransferParams
public boolean getLocalFileNameIsPattern()
PostTransferParams
LocalFileName
is a batch name pattern
or not;
getLocalFileNameIsPattern
in interface PostTransferParams
getLocalFileNameIsPattern
in interface com.stc.connector.TransferParams
LocalFileName
is a batch name pattern, false - the value for the
LocalFileName
is taken as a literal;public void setLocalCommand(java.lang.String cmd)
PostTransferParams
cmd
;
setLocalCommand
in interface PostTransferParams
setLocalCommand
in interface com.stc.connector.TransferParams
cmd
- - "None", "Rename", "Delete", the Post transfer command;public void setLocalDirName(java.lang.String dir)
PostTransferParams
setLocalDirName
in interface PostTransferParams
setLocalDirName
in interface com.stc.connector.TransferParams
public void setLocalDirNameIsPattern(boolean b)
PostTransferParams
LocalDirName
is a batch name pattern;
setLocalDirNameIsPattern
in interface PostTransferParams
setLocalDirNameIsPattern
in interface com.stc.connector.TransferParams
b
- - true - the LocalDirName
is a name pattern, false - not a pattern;public void setLocalFileName(java.lang.String file)
PostTransferParams
setLocalFileName
in interface PostTransferParams
setLocalFileName
in interface com.stc.connector.TransferParams
file
- - the file name;public void setLocalFileNameIsPattern(boolean b)
PostTransferParams
LocalFileName
is a name pattern;
setLocalFileNameIsPattern
in interface PostTransferParams
setLocalFileNameIsPattern
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 |