uk.org.ogsadai.activity.delivery
Class DeliverToFileActivity

java.lang.Object
  |
  +--uk.org.ogsadai.activity.Activity
        |
        +--uk.org.ogsadai.activity.delivery.AbstractDeliverToAddressActivity
              |
              +--uk.org.ogsadai.activity.delivery.DeliverToFileActivity

public class DeliverToFileActivity
extends AbstractDeliverToAddressActivity

An activity which consumes data from an input and delivers it to a file on the service container's local filesystem. See the activity user documentation for more details: OGSADAI/doc/interaction/activities/delivery/deliverToFile.html

Author:
The OGSA-DAI Project Team

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
private static DAILogger LOG
          Logger object for logging in this class
private  java.io.File mToFile
          File to which data is to be saved
 
Fields inherited from class uk.org.ogsadai.activity.delivery.AbstractDeliverToAddressActivity
mInput, mOutputStream, mToAddress, mWriter
 
Fields inherited from class uk.org.ogsadai.activity.Activity
mContext, mExternalInputs, mExternalOutputs, mInternalInputs, mInternalOutputs
 
Constructor Summary
DeliverToFileActivity(org.w3c.dom.Element element)
           
 
Method Summary
 void processFirst()
          This method is called during the first iteration of processing an activity.
 
Methods inherited from class uk.org.ogsadai.activity.delivery.AbstractDeliverToAddressActivity
initialise, processBlock, setupInput
 
Methods inherited from class uk.org.ogsadai.activity.Activity
cleanUp, connectsTo, createOutputPipe, getActivityConfiguration, getActivityName, getCause, getName, getObservableStatus, getProperties, getSession, getStatus, hasActivityConfiguration, hasProperties, process, setActivityName, setCompleted, setError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

LOG

private static final DAILogger LOG
Logger object for logging in this class


mToFile

private java.io.File mToFile
File to which data is to be saved

Constructor Detail

DeliverToFileActivity

public DeliverToFileActivity(org.w3c.dom.Element element)
                      throws ActivityCreationException,
                             ActivitySpecificationException
Method Detail

processFirst

public void processFirst()
Description copied from class: Activity
This method is called during the first iteration of processing an activity. It can be overridden by subclasses to define some processing that should be done only once during the first iteration of the activity processing, for example evaluating a database query.

Specified by:
processFirst in class AbstractDeliverToAddressActivity