eu.unicore.hila.gridftp
Class GridFtpExport

java.lang.Object
  extended by eu.unicore.hila.common.BaseResource
      extended by eu.unicore.hila.common.grid.BaseTask
          extended by eu.unicore.hila.common.grid.BaseSimpleTransfer
              extended by eu.unicore.hila.gridftp.GridFtpExport
All Implemented Interfaces:
eu.unicore.hila.grid.Progressable, eu.unicore.hila.grid.SimpleTransfer, eu.unicore.hila.grid.Task, eu.unicore.hila.Resource, Callable<eu.unicore.hila.grid.TaskStatus>

public class GridFtpExport
extends eu.unicore.hila.common.grid.BaseSimpleTransfer
implements eu.unicore.hila.grid.SimpleTransfer, Callable<eu.unicore.hila.grid.TaskStatus>

Author:
bjoernh 01.03.2012 14:03:35

Field Summary
 
Fields inherited from class eu.unicore.hila.common.grid.BaseTask
error
 
Fields inherited from class eu.unicore.hila.common.BaseResource
location
 
Constructor Summary
GridFtpExport(GridFTPStorage _storage, String _path, OutputStream _os, boolean _closeOutputStream)
           
 
Method Summary
 void abort()
           
 eu.unicore.hila.grid.TaskStatus call()
           
 List<eu.unicore.hila.Resource> getChildren()
           
 String getId()
           
 
Methods inherited from class eu.unicore.hila.common.grid.BaseSimpleTransfer
block
 
Methods inherited from class eu.unicore.hila.common.grid.BaseTask
block, getCurrent, getError, getHistory, getMax, getUnit, isDone, isFinalState, notifyListeners, registerStatusChangeListener, removeStatusChangeListener, setCurrentState, setCurrentState, status
 
Methods inherited from class eu.unicore.hila.common.BaseResource
findParentLocationOfType, getChild, getLocation, getMetadata, getName, getParent, ok
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.unicore.hila.grid.Task
block, block, getError, getHistory, registerStatusChangeListener, removeStatusChangeListener, status
 
Methods inherited from interface eu.unicore.hila.Resource
getChild, getLocation, getMetadata, getName, getParent, ok
 

Constructor Detail

GridFtpExport

public GridFtpExport(GridFTPStorage _storage,
                     String _path,
                     OutputStream _os,
                     boolean _closeOutputStream)
              throws eu.unicore.hila.exceptions.HiLALocationSyntaxException
Parameters:
_storage -
_path -
_os -
_closeOutputStream -
Throws:
eu.unicore.hila.exceptions.HiLALocationSyntaxException
Method Detail

abort

public void abort()
           throws eu.unicore.hila.exceptions.HiLAException
Specified by:
abort in interface eu.unicore.hila.grid.Task
Throws:
eu.unicore.hila.exceptions.HiLAException
See Also:
Task.abort()

getId

public String getId()
             throws eu.unicore.hila.exceptions.HiLAException
Specified by:
getId in interface eu.unicore.hila.grid.Task
Throws:
eu.unicore.hila.exceptions.HiLAException
See Also:
Task.getId()

getChildren

public List<eu.unicore.hila.Resource> getChildren()
                                           throws eu.unicore.hila.exceptions.HiLAException
Specified by:
getChildren in interface eu.unicore.hila.Resource
Throws:
eu.unicore.hila.exceptions.HiLAException
See Also:
Resource.getChildren()

call

public eu.unicore.hila.grid.TaskStatus call()
                                     throws Exception
Specified by:
call in interface Callable<eu.unicore.hila.grid.TaskStatus>
Throws:
Exception
See Also:
Callable.call()


Copyright © 2010-2013 UNICORE. All Rights Reserved.