|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.work.AbstractTaskManager<T,C>
public abstract class AbstractTaskManager<T,C>
Provides access to a TunableInterceptor to all derived classes and a utility method to determine if an object has been annotated with Tunables.
Field Summary | |
---|---|
protected C |
executionContext
The execution context of the task manager. |
protected TunableMutator |
tunableMutator
The single tunable mutator that will be used by this task manager. |
protected List<TunableRecorder> |
tunableRecorders
The list of tunable recorders that will be used by this task manager. |
Constructor Summary | |
---|---|
AbstractTaskManager(TunableMutator tunableMutator)
Initializes an AbstractTaskManager object by setting
its TunableInterceptor . |
Method Summary | |
---|---|
void |
addTunableRecorder(TunableRecorder tunableRecorder,
Map props)
Adds the specified TunableRecorder service to the task manager. |
void |
removeTunableRecorder(TunableRecorder tunableRecorder,
Map props)
Removes the specified TunableRecorder service from the task manager. |
void |
setExecutionContext(C context)
Simple sets the executionContext to the specified input value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.cytoscape.work.TaskManager |
---|
execute, getConfiguration |
Field Detail |
---|
protected final TunableMutator tunableMutator
protected final List<TunableRecorder> tunableRecorders
protected C executionContext
Constructor Detail |
---|
public AbstractTaskManager(TunableMutator tunableMutator)
AbstractTaskManager
object by setting
its TunableInterceptor
.
tunableMutator
- The TunableMutator
to be
used by this TaskManager
.Method Detail |
---|
public final void addTunableRecorder(TunableRecorder tunableRecorder, Map props)
tunableRecorder
- The TunableRecorder service to be added to this task manager.props
- The service properties associated with the tunableRecorder service.public final void removeTunableRecorder(TunableRecorder tunableRecorder, Map props)
tunableRecorder
- The TunableRecorder service to be removed from this task manager.props
- The service properties associated with the tunableRecorder service.public void setExecutionContext(C context)
setExecutionContext
in interface TaskManager<T,C>
context
- The execution context to be set.
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |