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.ICallableTask
public void setUuid(UUID uuid)
setUuid
in interface net.idea.restnet.i.task.ICallableTask
public Object getToken()
getToken
in interface net.idea.restnet.i.aa.IAuthToken
public abstract TaskResult doCall() throws Exception
Exception
public TaskResult call() throws Exception
public String getTaskCategory()
getTaskCategory
in interface net.idea.restnet.i.task.ICallableTask
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.