|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The specific type of TunableHandler
used to
process the tunables.S
- The type of configuration object returned by this
TunableMutator.public interface TunableMutator<T extends TunableHandler,S>
This is a type of tunable interceptor that reads and
modifies the values annotated with the Tunable
annotation. Only one TunableMutator will be used by a given
TaskManager
, and that is defined by the TaskManager
itself. You control which TunableMutator gets used by choosing
the appropriate TaskManager.
When implementing this interface, it is recommended that you
use the AbstractTunableInterceptor
class to do so.
Method Summary | |
---|---|
S |
buildConfiguration(Object o)
Returns the configuration object used to mutate the tunables. |
void |
setConfigurationContext(Object o)
Used configure the TunableMutator so that it builds its configuration object in the correct location. |
boolean |
validateAndWriteBack(Object o)
This method is called to validate and then set the values for fields and methods annotated with the Tunable annotation. |
Method Detail |
---|
void setConfigurationContext(Object o)
o
- The context object in which the configuration will be built.S buildConfiguration(Object o)
o
- The object containing the fields and methods annotated
with the Tunable
annotation.
boolean validateAndWriteBack(Object o)
Tunable
annotation.
o
- The object containing the fields and methods annotated
with the Tunable
annotation.
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |