public void onModule(final RestModule module) {
module.addRestAction(RestConfigSyncFileAction.class);
module.addRestAction(RestConfigSyncResetAction.class);
module.addRestAction(RestConfigSyncFlushAction.class);
}
<BUG>public void onModule(final ClusterDynamicSettingsModule module) {
module.addDynamicSettings("configsync.flush_interval");
}</BUG>
@Override
<BUG>public Collection<Class<? extends Module>> modules() {

final Collection<Class<? extends Module>> modules = Lists.newArrayList();
modules.add(ConfigSyncModule.class);
</BUG>
return modules;

public void onModule(final RestModule module) {
module.addRestAction(RestConfigSyncFileAction.class);
module.addRestAction(RestConfigSyncResetAction.class);
module.addRestAction(RestConfigSyncFlushAction.class);
