@Test public void testGetIntValueNoAssociatedUser() throws Exception { assertNull(context.getIntValue("any property")); }
public Integer getIntValue(String property) { try { List<Preferences> preferencesList = registry.getContextPreferences(entryPoint); Integer max = null; for(Preferences pref : preferencesList) { Integer intValue = pref.getIntValue(property); if(max == null || (intValue != null && intValue > max)) { max = intValue; } } return max; } catch (IOException e) { return null; } }
PirasoContext implements ContextPreference { public Integer getIntValue(String property) { try { List<Preferences> preferencesList = registry.getContextPreferences(entryPoint); Integer max = null; for(Preferences pref : preferencesList) { Integer intValue = pref.getIntValue(property); if(max == null || (intValue != null && intValue > max)) { max = intValue; } } return max; } catch (IOException e) { return null; } } }
PirasoContext implements ContextPreference { public Integer getIntValue(String property) { try { List<Preferences> preferencesList = registry.getContextPreferences(entryPoint); Integer max = null; for(Preferences pref : preferencesList) { Integer intValue = pref.getIntValue(property); if(max == null || (intValue != null && intValue > max)) { max = intValue; } } return max; } catch (IOException e) { return null; } } PirasoContext(PirasoEntryPoint entryPoint);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref); private  PirasoContext(long requestId, PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref, GroupChainId refGroupChainId); }
PirasoContext implements ContextPreference { public Integer getIntValue(String property) { try { List<Preferences> preferencesList = registry.getContextPreferences(entryPoint); Integer max = null; for(Preferences pref : preferencesList) { Integer intValue = pref.getIntValue(property); if(max == null || (intValue != null && intValue > max)) { max = intValue; } } return max; } catch (IOException e) { return null; } } PirasoContext(PirasoEntryPoint entryPoint);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref); private  PirasoContext(long requestId, PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref, GroupChainId refGroupChainId); PirasoContext createChildContext(GroupChainId chainId); void setIndent(int indent); int getIndent(); void addProperty(Class<?> clazz, String name, Object value); void removeProperty(Class<?> clazz, String name); Object getProperty(Class<?> clazz, String name); Long getRequestId(); ReferenceRequestEntry getRef(); PirasoEntryPoint getEntryPoint(); boolean isMonitored(); boolean isRegexEnabled(String property); boolean isEnabled(String property); Integer getIntValue(String property); void log(Level level, GroupChainId id, Entry entry); }
PirasoContext implements ContextPreference { public Integer getIntValue(String property) { try { List<Preferences> preferencesList = registry.getContextPreferences(entryPoint); Integer max = null; for(Preferences pref : preferencesList) { Integer intValue = pref.getIntValue(property); if(max == null || (intValue != null && intValue > max)) { max = intValue; } } return max; } catch (IOException e) { return null; } } PirasoContext(PirasoEntryPoint entryPoint);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref); private  PirasoContext(long requestId, PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref, GroupChainId refGroupChainId); PirasoContext createChildContext(GroupChainId chainId); void setIndent(int indent); int getIndent(); void addProperty(Class<?> clazz, String name, Object value); void removeProperty(Class<?> clazz, String name); Object getProperty(Class<?> clazz, String name); Long getRequestId(); ReferenceRequestEntry getRef(); PirasoEntryPoint getEntryPoint(); boolean isMonitored(); boolean isRegexEnabled(String property); boolean isEnabled(String property); Integer getIntValue(String property); void log(Level level, GroupChainId id, Entry entry); static final String INDENT_PROPERTY; }