public class JobConstraint extends TransferableObject
FileTransferJob| Constructor and Description |
|---|
JobConstraint(TransferDirection direction,
FileDataType dataType,
TransferJobOption... options) |
| Modifier and Type | Method and Description |
|---|---|
FileDataType |
getFileDataType() |
TransferDirection |
getTransferDirection() |
boolean |
isAscii() |
boolean |
isCreateTargetDir() |
boolean |
isKeepZippedOnServer() |
boolean |
isSourceFileRequired()
Tells whether the file to be up/downloaded must actually exist.
|
boolean |
isTransferZipped() |
boolean |
isUpload() |
void |
setCreateTargetDir(boolean isCreateTargetDir) |
void |
setFileDataType(FileDataType dataType) |
void |
setKeepZippedOnServer(boolean isKeepZippedOnServer) |
void |
setSourceFileRequired(boolean isSourceFileRequired) |
void |
setTransferDirection(TransferDirection trDirection) |
void |
setTransferZipped(boolean isTransferZipped) |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
clone, deepCloneconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic JobConstraint(TransferDirection direction, FileDataType dataType, TransferJobOption... options)
public boolean isUpload()
public boolean isAscii()
public void setTransferDirection(TransferDirection trDirection)
public void setFileDataType(FileDataType dataType)
public TransferDirection getTransferDirection()
public FileDataType getFileDataType()
public boolean isTransferZipped()
public boolean isKeepZippedOnServer()
public void setKeepZippedOnServer(boolean isKeepZippedOnServer)
public void setTransferZipped(boolean isTransferZipped)
public boolean isSourceFileRequired()
public void setSourceFileRequired(boolean isSourceFileRequired)
public boolean isCreateTargetDir()
public void setCreateTargetDir(boolean isCreateTargetDir)
public ToString toString(ToString s)
DumpabletoString in interface DumpabletoString in class DumpableObjectpublic DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class DumpableObjectCopyright © 2014 EsprIT-Systems. All Rights Reserved.