Class MonitoringLocationUtils


  • public class MonitoringLocationUtils
    extends Object
    • Constructor Detail

      • MonitoringLocationUtils

        public MonitoringLocationUtils()
    • Method Detail

      • isDefaultLocationName

        public static boolean isDefaultLocationName​(String locationName)
        Returns true if the given location name is null or the system default.
        Parameters:
        locationName -
        Returns:
      • getLocationNameOrNullIfDefault

        public static String getLocationNameOrNullIfDefault​(OnmsNode node)
        Returns the name to which the given node is associated, or null if the if node is associated to either the default location, or no location.
        Parameters:
        node -
        Returns: