public abstract class AbstractTaskManager<T,C> extends Object implements TaskManager<T,C>
Module: work-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>work-api</artifactId>
</dependency>| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
AbstractTaskManager(TunableMutator tunableMutator)
Initializes an
AbstractTaskManager object by setting
its TunableInterceptor. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, execute, getConfigurationprotected final TunableMutator tunableMutator
protected final List<TunableRecorder> tunableRecorders
protected C executionContext
public AbstractTaskManager(TunableMutator tunableMutator)
AbstractTaskManager object by setting
its TunableInterceptor.tunableMutator - The TunableMutator to be
used by this TaskManager.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.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.