eu.unicore.hila.gridftp
Class GridFtpImport
java.lang.Object
eu.unicore.hila.common.BaseResource
eu.unicore.hila.common.grid.BaseTask
eu.unicore.hila.common.grid.BaseSimpleTransfer
eu.unicore.hila.gridftp.GridFtpImport
- 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 GridFtpImport
- extends eu.unicore.hila.common.grid.BaseSimpleTransfer
- implements eu.unicore.hila.grid.SimpleTransfer, Callable<eu.unicore.hila.grid.TaskStatus>
- Author:
- bjoernh
02.03.2012 11:20:26
Fields inherited from class eu.unicore.hila.common.grid.BaseTask |
error |
Fields inherited from class eu.unicore.hila.common.BaseResource |
location |
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 |
GridFtpImport
public GridFtpImport(GridFTPStorage _storage,
String _path,
InputStream _is,
boolean _closeInputStream)
throws eu.unicore.hila.exceptions.HiLALocationSyntaxException
- Parameters:
_storage
- _path
- _is
- _closeInputStream
-
- Throws:
eu.unicore.hila.exceptions.HiLALocationSyntaxException
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.