use of org.finos.waltz.model.person.PersonKind in project waltz by khartec.
the class PersonHarness method main.
public static void main(String[] args) {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
DSLContext dsl = ctx.getBean(DSLContext.class);
PersonDao personDao = ctx.getBean(PersonDao.class);
Map<PersonKind, Integer> count = personDao.countAllUnderlingsByKind("wibble");
System.out.printf("count: %s\n", count);
}
Aggregations