Package org.lsst.ccs.services
Interface AgentLockService.User
- Enclosing class:
- AgentLockService
public static interface AgentLockService.User
Static utility methods for handling user settings.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic LinkedHashMap<String,String> levelsFromString(String settings) Convert per-user max level settings from string to map.static StringlevelsToString(Map<String, String> m, boolean includeBraces) Convert per-user max level settings from map to string.
-
Method Details
-
levelsFromString
Convert per-user max level settings from string to map.- Parameters:
settings- Settings string with loose format requirements.- Returns:
- Settings map in standard format.
-
levelsToString
Convert per-user max level settings from map to string.- Parameters:
m- Settings map with arbitrary ordering and, possibly, extra white space in keys and values.includeBraces- True if braces around the string should be included.- Returns:
- Settings string in standard format.
-