public abstract class AbstractPlugin extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.gcube.data.transfer.model.PluginInvocation |
invocation |
| Constructor and Description |
|---|
AbstractPlugin(org.gcube.data.transfer.model.PluginInvocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
cleanup() |
org.gcube.data.transfer.model.ExecutionReport |
execute() |
protected static org.gcube.data.transfer.model.ExecutionReport |
fromException(org.gcube.data.transfer.model.PluginInvocation invocation,
Throwable t) |
abstract org.gcube.data.transfer.model.ExecutionReport |
run() |
public AbstractPlugin(org.gcube.data.transfer.model.PluginInvocation invocation)
public org.gcube.data.transfer.model.ExecutionReport execute()
public abstract org.gcube.data.transfer.model.ExecutionReport run()
throws PluginExecutionException
PluginExecutionExceptionpublic abstract void cleanup()
throws PluginCleanupException
PluginCleanupExceptionprotected static org.gcube.data.transfer.model.ExecutionReport fromException(org.gcube.data.transfer.model.PluginInvocation invocation,
Throwable t)
Copyright © 2017. All Rights Reserved.