org.gcube.vremanagement.executor.plugin
Interface ExecutorTask

All Superinterfaces:
org.gcube.common.core.utils.handlers.GCUBEIHandler<TaskRuntime>, org.gcube.common.core.utils.handlers.lifetime.Lifetime<TaskRuntime>

public interface ExecutorTask
extends org.gcube.common.core.utils.handlers.lifetime.Lifetime<TaskRuntime>

Tagging interface for tasks that can be executed by the service.

Author:
Fabio Simeoni (University of Strathclyde)

Method Summary
 void stop()
          Attempts to stop execution.
 
Methods inherited from interface org.gcube.common.core.utils.handlers.lifetime.Lifetime
getState
 
Methods inherited from interface org.gcube.common.core.utils.handlers.GCUBEIHandler
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, run, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, subscribe, undo, unsubscribe
 

Method Detail

stop

void stop()
          throws UnsupportedOperationException,
                 Exception
Attempts to stop execution.

Throws:
UnsupportedOperationException - if the task cannot be stopped.
Exception - if the task could not be stopped.


Copyright © 2013. All Rights Reserved.