@Test public void testRetriveSingleMeasureBasic() { Measure m = criteriaManager.getMeasure("http: Assert.assertNotNull(m); }
@Lock(LockType.READ) public Measure getMeasure(String measureUri) { return knownMeasures.get(measureUri); }
CriteriaManager implements Serializable { @Lock(LockType.READ) public Measure getMeasure(String measureUri) { return knownMeasures.get(measureUri); } }
CriteriaManager implements Serializable { @Lock(LockType.READ) public Measure getMeasure(String measureUri) { return knownMeasures.get(measureUri); } CriteriaManager(); }
CriteriaManager implements Serializable { @Lock(LockType.READ) public Measure getMeasure(String measureUri) { return knownMeasures.get(measureUri); } CriteriaManager(); Collection<CriterionCategory> getAllCriterionCategories(); @Lock(LockType.READ) Collection<Measure> getAllMeasures(); @Lock(LockType.READ) Collection<Attribute> getAllAttributes(); @Lock(LockType.READ) Measure getMeasure(String measureUri); @Lock(LockType.READ) Attribute getAttribute(String attributeUri); @Lock(LockType.READ) List<String> getCategoryHierachy(String measureUri); @Lock(LockType.WRITE) void reload(); @PostConstruct void init(); }
CriteriaManager implements Serializable { @Lock(LockType.READ) public Measure getMeasure(String measureUri) { return knownMeasures.get(measureUri); } CriteriaManager(); Collection<CriterionCategory> getAllCriterionCategories(); @Lock(LockType.READ) Collection<Measure> getAllMeasures(); @Lock(LockType.READ) Collection<Attribute> getAllAttributes(); @Lock(LockType.READ) Measure getMeasure(String measureUri); @Lock(LockType.READ) Attribute getAttribute(String attributeUri); @Lock(LockType.READ) List<String> getCategoryHierachy(String measureUri); @Lock(LockType.WRITE) void reload(); @PostConstruct void init(); static final String MEASURES_FILE; static final String ATTRIBUTES_FILE; static final String CATEGORIES_FILE; }