|
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.eways.batchext.FtpFileTransferNamesAndCommands
public abstract class FtpFileTransferNamesAndCommands
This class is used to access the resolved transfer names and transfer commands for Batch FTP operations
Field Summary | |
---|---|
protected boolean |
append
|
protected boolean |
cleanupOnPutFailure
|
protected FtpETD |
etd
|
static java.lang.String |
LOGGER_NAME
|
protected java.lang.String |
postDirectoryName
|
protected java.lang.String |
postFileName
|
protected java.lang.String |
postTransferCommand
|
protected java.lang.String |
preDirectoryName
|
protected java.lang.String |
preFileName
|
protected java.lang.String |
preTransferCommand
|
protected java.lang.String |
sequencePersistDir
|
protected java.lang.String |
targetDirectoryName
|
protected java.lang.String |
targetFileName
|
Constructor Summary | |
---|---|
FtpFileTransferNamesAndCommands(FtpETD etd)
Constructs a new FtpFileTransferNamesAndCommands object. |
|
FtpFileTransferNamesAndCommands(FtpFileTransferNamesAndCommands original,
FtpFileConfiguration config)
copy constructor since we don't have setters for some of the attributes that needs to be changed dynamically; |
Method Summary | |
---|---|
boolean |
getAppend()
Checks on whether the outbound transfer is "Append" mode. |
boolean |
getCleanupOnPutFailure()
Checks on whether the cleanup is needed on transfer put failure. |
java.lang.String |
getPostDirectoryName()
Gets the resolved post directory name. |
java.lang.String |
getPostFileName()
Gets the resolved post file name. |
java.lang.String |
getPostTransferCommand()
Gets Post Transfer Command. |
java.lang.String |
getPreDirectoryName()
Gets the resolved pre directory name. |
java.lang.String |
getPreFileName()
Gets the resolved pre file name. |
java.lang.String |
getPreTransferCommand()
Gets the Pre Transfer Command. |
java.lang.String |
getTargetDirectoryName()
Gets the resolved target directory name. |
java.lang.String |
getTargetFileName()
Gets the resolved target file name. |
void |
resolvePostTransfer()
Resolves Post Transfer Names and Command. |
void |
resolvePreTransfer()
Resolves Pre Transfer Names and Command. |
void |
resolveTargetLocation()
Resolves Target Location Names. |
void |
setCleanupOnPutFailure(boolean cleanup)
Sets on whether the cleanup is needed on transfer put failure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LOGGER_NAME
protected transient java.lang.String sequencePersistDir
protected transient FtpETD etd
protected boolean cleanupOnPutFailure
protected boolean append
protected java.lang.String targetDirectoryName
protected java.lang.String targetFileName
protected java.lang.String preTransferCommand
protected java.lang.String preDirectoryName
protected java.lang.String preFileName
protected java.lang.String postTransferCommand
protected java.lang.String postDirectoryName
protected java.lang.String postFileName
Constructor Detail |
---|
public FtpFileTransferNamesAndCommands(FtpETD etd)
etd
- FtpETD object.public FtpFileTransferNamesAndCommands(FtpFileTransferNamesAndCommands original, FtpFileConfiguration config)
- Method Detail |
---|
public java.lang.String getTargetDirectoryName() throws FtpFileException
getTargetDirectoryName
in interface TransferNamesAndCommands
FtpFileException
- If some error occurs.public java.lang.String getTargetFileName() throws FtpFileException
getTargetFileName
in interface TransferNamesAndCommands
FtpFileException
- If some error occurs.public java.lang.String getPreTransferCommand() throws FtpFileException
getPreTransferCommand
in interface TransferNamesAndCommands
FtpFileException
- If some error occurs.public java.lang.String getPreDirectoryName() throws FtpFileException
getPreDirectoryName
in interface TransferNamesAndCommands
FtpFileException
- If some error occurs.public java.lang.String getPreFileName() throws FtpFileException
getPreFileName
in interface TransferNamesAndCommands
FtpFileException
- If some error occurs.public java.lang.String getPostTransferCommand() throws FtpFileException
getPostTransferCommand
in interface TransferNamesAndCommands
FtpFileException
- If some error occurs.public java.lang.String getPostDirectoryName() throws FtpFileException
getPostDirectoryName
in interface TransferNamesAndCommands
FtpFileException
- If some error occurs.public java.lang.String getPostFileName() throws FtpFileException
getPostFileName
in interface TransferNamesAndCommands
FtpFileException
- If some error occurs.public boolean getAppend()
getAppend
in interface TransferNamesAndCommands
public boolean getCleanupOnPutFailure()
public void setCleanupOnPutFailure(boolean cleanup)
cleanup
- true or false.public void resolvePostTransfer() throws FtpFileException
resolvePostTransfer
in interface TransferNamesAndCommands
FtpFileException
- If some error occurs.public void resolvePreTransfer() throws FtpFileException
resolvePreTransfer
in interface TransferNamesAndCommands
FtpFileException
- If some error occurs.public void resolveTargetLocation() throws FtpFileException
resolveTargetLocation
in interface TransferNamesAndCommands
FtpFileException
- If some error occurs.
|
Sun Adapter for Batch/FTP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |