mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
add javadocs
This commit is contained in:
parent
769426600d
commit
042f1f8d23
@ -75,6 +75,14 @@ public interface NBReconfigurable extends NBCanReconfigure, NBReconfigModelProvi
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a composite configuration model from all the provided elements
|
||||
* of the collection which implement {@link NBReconfigurable}
|
||||
*
|
||||
* @param of The nominal type of the composite configuration model
|
||||
* @param configurables zero or more elements which may implement {@link NBReconfigurable}
|
||||
* @return the combined model
|
||||
*/
|
||||
static NBConfigModel collectModels(Class<?> of, Collection<?> configurables) {
|
||||
ConfigModel model = ConfigModel.of(of);
|
||||
for (Object configurable : configurables) {
|
||||
|
Loading…
Reference in New Issue
Block a user