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, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public 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)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.