public class FileTransfer extends UC4Object implements LifecycleSaveAware
Constructor and Description |
---|
FileTransfer() |
Modifier and Type | Method and Description |
---|---|
void |
afterSaveObject()
Called after an object is saved.
|
FileTransferAttributes |
attributes()
Returns the generic attributes of this FileTransfer.
|
java.lang.String |
getPostProcess()
Returns the content of the Post Process tab.
|
java.lang.String |
getProcess()
Returns the content of the "Process" tab.
|
XHeader |
header()
Returns the header data of this object.
|
boolean |
isExecutable()
Returns
true if this Object can be executed. |
protected void |
loadContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
OutputScan |
outputScan()
Returns an
OutputScan instance which represents the "Output Scan" tab of a FileTransfer. |
Rollback |
rollback()
This method provides access to the rollback tab of an executable object.
|
Runtime |
runtime()
Returns runtime information of this job.
|
void |
setPostProcess(java.lang.String postScript)
Sets the content of the Post Process tab.
|
void |
setProcess(java.lang.String script)
Sets the content of the "Process" tab.
|
FileTransferSettings |
settings()
Settings for the FileTransfer (Source/Destination Hosts, File names, ...)
The return value represents the "FileTransfer" tab in the Dialog client.
|
protected void |
storeContent(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element objectElement,
ConnectionAttributes sessionInfo)
Stores the object specific data under the
objectElement element. |
SyncList |
syncs()
Returns a
SyncList object which contains sync conditions
of this object. |
void |
validate()
Validates the object.
|
ObjectValues |
values() |
docu, getAccess, getIdnr, getModCount, getName, getType, isOldVersion, load, store
public FileTransferSettings settings()
public void validate() throws java.io.InvalidObjectException
UC4Object
InvalidObjectException
is thrown.public FileTransferAttributes attributes()
public XHeader header()
public SyncList syncs()
SyncList
object which contains sync conditions
of this object.protected void loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
public Runtime runtime()
public void setPostProcess(java.lang.String postScript)
postScript
- Post scriptpublic java.lang.String getPostProcess()
public ObjectValues values()
public java.lang.String getProcess()
public void setProcess(java.lang.String script)
script
- Scriptpublic OutputScan outputScan()
OutputScan
instance which represents the "Output Scan" tab of a FileTransfer.protected void storeContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)
UC4Object
objectElement
element.doc
- XML Document, used to create subelementsobjectElement
- the newly created elements are children of the objectElement
elementsessionInfo
- Information about the current sessionpublic Rollback rollback()
public boolean isExecutable()
UC4Object
true
if this Object can be executed.isExecutable
in class UC4Object
public void afterSaveObject()
LifecycleSaveAware
afterSaveObject
in interface LifecycleSaveAware