use of uk.ac.bbsrc.tgac.miso.core.data.type.HealthType in project miso-lims by miso-lims.
the class ConstantsController method addHealthTypes.
private static void addHealthTypes(ObjectNode node) {
ArrayNode healthTypes = node.putArray("healthTypes");
for (HealthType status : HealthType.values()) {
ObjectNode dto = healthTypes.addObject();
dto.put("label", status.getKey());
dto.put("allowedFromSequencer", status.isAllowedFromSequencer());
dto.put("isDone", status.isDone());
}
}
Aggregations