use of com.evolveum.midpoint.web.page.admin.configuration.dto.ProfilingDto in project midpoint by Evolveum.
the class ProfilingConfigPanel method createAppendersListModel.
private IModel<List<String>> createAppendersListModel() {
return new AbstractReadOnlyModel<List<String>>() {
@Override
public List<String> getObject() {
List<String> list = new ArrayList<>();
ProfilingDto dto = getModel().getObject();
for (AppenderConfiguration appender : dto.getAppenders()) {
list.add(appender.getName());
}
return list;
}
};
}
Aggregations