|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.client.toolkit.activity.RequestComponent
|
+--uk.org.ogsadai.client.toolkit.activity.Activity
|
+--uk.org.ogsadai.client.toolkit.activity.delivery.DeliverToFile
This activity delivers data to a file within a data service's file system.
It has one input - the data to be delivered - and no output.
| Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private java.lang.String |
mFile
Destination File. |
| Fields inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
|
| Fields inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
|
| Constructor Summary | |
DeliverToFile()
Constructs a request to deliver data to a file within the service's filesystem. |
|
DeliverToFile(java.lang.String file)
Constructs a request to deliver data to a file within the service's filesystem. |
|
| Method Summary | |
protected java.lang.String |
generateXML()
Generates the XML representing the activity. |
void |
setFile(java.lang.String file)
Sets the file. |
void |
setInput(ActivityOutput input)
Sets the input of this activity to be the output from another activity that will provide the data to be stored. |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
addInput, addOutput, addOutputs, getDataResourceID, getInputParameters, getOutputParameters, getOutputs, replaceSpecialCharacters, setDataResourceID, setInput |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
getDataService, getName, getSession, setDataService, setSession |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private java.lang.String mFile
| Constructor Detail |
public DeliverToFile()
The file name must be set using setFile.
The activity providing the input data must be set using
setInput.
public DeliverToFile(java.lang.String file)
setInput.
file - The file.
java.lang.IllegalArgumentException - If file is null or the empty string.| Method Detail |
public final void setInput(ActivityOutput input)
input - Output from another activity.
java.lang.IllegalArgumentException - If input is null.public void setFile(java.lang.String file)
file - The file.
java.lang.IllegalArgumentException - If file is null or the empty string.protected java.lang.String generateXML()
RequestComponent
generateXML in class ActivityActivity.generateXML()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||