Interface AgentLockService.User

Enclosing class:
AgentLockService

public static interface AgentLockService.User
Static utility methods for handling user settings.
  • Method Details

    • levelsFromString

      static LinkedHashMap<String,String> levelsFromString(String settings)
      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

      static String levelsToString(Map<String,String> m, boolean includeBraces)
      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.