@Retention(value=RUNTIME) @Target(value=FIELD) public @interface ContainsTunables
Tunable
annotation.
The goal is to allow rich tunable collections to be created by
combining the tunables found in fields annotated with ContainsTunables.
public class A {
@Tunable
public int value = 5;
}
public class B {
@ContainsTunable
public A a = new A();
@Tunable
public String name = "homer";
}
When class B is evaluated for Tunables, it should display a tunable
for both the "name" and "value" fields.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>
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.