public abstract class CallableProtectedTask<USERID> extends Object implements net.idea.restnet.i.task.ICallableTask, net.idea.restnet.i.aa.IAuthToken
| Modifier and Type | Field and Description |
|---|---|
protected String |
logFile |
protected static Logger |
logger |
protected UUID |
uuid |
| Constructor and Description |
|---|
CallableProtectedTask(USERID token) |
| Modifier and Type | Method and Description |
|---|---|
TaskResult |
call() |
abstract TaskResult |
doCall() |
String |
getTaskCategory() |
Object |
getToken() |
UUID |
getUuid() |
void |
setUuid(UUID uuid) |
protected static Logger logger
protected UUID uuid
protected String logFile
public CallableProtectedTask(USERID token)
public UUID getUuid()
getUuid in interface net.idea.restnet.i.task.ICallableTaskpublic void setUuid(UUID uuid)
setUuid in interface net.idea.restnet.i.task.ICallableTaskpublic Object getToken()
getToken in interface net.idea.restnet.i.aa.IAuthTokenpublic abstract TaskResult doCall() throws Exception
Exceptionpublic TaskResult call() throws Exception
public String getTaskCategory()
getTaskCategory in interface net.idea.restnet.i.task.ICallableTaskCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.