public abstract class AbstractTaskContainer extends Object implements Serializable, org.apache.wicket.model.IDetachable
ITaskManager
. A task manager is in general not serializable and this would therefore break the Wicket
contract of a model this representation is based on.Modifier | Constructor and Description |
---|---|
protected |
AbstractTaskContainer(String id) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
detach() |
Throwable |
getExecutionError() |
String |
getId() |
Double |
getProgress() |
String |
getProgressMessage() |
boolean |
isCancelled() |
boolean |
isComplete() |
boolean |
isFailed() |
boolean |
isRunning() |
boolean |
isSubmitted() |
protected abstract ITaskManagerHook |
load() |
void |
submit(Runnable runnable) |
protected AbstractTaskContainer(String id)
protected abstract ITaskManagerHook load()
public String getId()
public boolean isSubmitted()
public boolean isRunning()
public boolean isComplete()
public boolean isFailed()
public boolean isCancelled()
public Throwable getExecutionError()
public void submit(Runnable runnable)
public void cancel()
public Double getProgress()
public String getProgressMessage()
public void detach()
detach
in interface org.apache.wicket.model.IDetachable
Copyright © 2015. All rights reserved.