public class TaskApplication<USERID>
extends org.restlet.Application
implements net.idea.restnet.i.task.ITaskApplication<USERID>
Modifier and Type | Field and Description |
---|---|
protected net.idea.restnet.i.task.ITaskStorage<USERID> |
taskStorage |
Constructor and Description |
---|
TaskApplication() |
Modifier and Type | Method and Description |
---|---|
net.idea.restnet.i.task.ITask<net.idea.restnet.i.task.ITaskResult,USERID> |
addTask(String taskName,
net.idea.restnet.i.task.ICallableTask callable,
org.restlet.data.Reference baseReference,
boolean internal,
USERID user) |
net.idea.restnet.i.task.ITask<net.idea.restnet.i.task.ITaskResult,USERID> |
addTask(String taskName,
net.idea.restnet.i.task.ICallableTask callable,
org.restlet.data.Reference baseReference,
USERID user) |
protected TaskStorage<USERID> |
createTaskStorage() |
protected void |
finalize() |
net.idea.restnet.i.task.ITask<net.idea.restnet.i.task.ITaskResult,USERID> |
findTask(String id) |
net.idea.restnet.i.task.ITaskStorage<USERID> |
getTaskStorage() |
void |
removeTasks() |
void |
setTaskStorage(net.idea.restnet.i.task.ITaskStorage<USERID> taskStorage) |
void |
stop() |
createInboundRoot, createOutboundRoot, createRoot, findRole, getConnectorService, getConverterService, getCurrent, getDecoderService, getFinderClass, getInboundRoot, getMetadataService, getOutboundRoot, getRangeService, getRoles, getRoot, getService, getServices, getStatusService, getTaskService, getTunnelService, handle, setClientRoot, setConnectorService, setConverterService, setCurrent, setDecoderService, setFinderClass, setInboundRoot, setInboundRoot, setMetadataService, setOutboundRoot, setRangeService, setRoles, setRoot, setRoot, setService, setServices, setStatusService, setTaskService, setTunnelService, start
protected net.idea.restnet.i.task.ITaskStorage<USERID> taskStorage
protected TaskStorage<USERID> createTaskStorage()
public net.idea.restnet.i.task.ITaskStorage<USERID> getTaskStorage()
getTaskStorage
in interface net.idea.restnet.i.task.ITaskApplication<USERID>
public void setTaskStorage(net.idea.restnet.i.task.ITaskStorage<USERID> taskStorage)
protected void finalize() throws Throwable
public void stop() throws Exception
stop
in class org.restlet.Application
Exception
public void removeTasks()
public net.idea.restnet.i.task.ITask<net.idea.restnet.i.task.ITaskResult,USERID> addTask(String taskName, net.idea.restnet.i.task.ICallableTask callable, org.restlet.data.Reference baseReference, USERID user)
addTask
in interface net.idea.restnet.i.task.ITaskApplication<USERID>
public net.idea.restnet.i.task.ITask<net.idea.restnet.i.task.ITaskResult,USERID> addTask(String taskName, net.idea.restnet.i.task.ICallableTask callable, org.restlet.data.Reference baseReference, boolean internal, USERID user)
addTask
in interface net.idea.restnet.i.task.ITaskApplication<USERID>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.