Package org.opennms.netmgt.dao.api
Class MonitoringLocationUtils
- java.lang.Object
-
- org.opennms.netmgt.dao.api.MonitoringLocationUtils
-
public class MonitoringLocationUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description MonitoringLocationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.static boolean
isDefaultLocationName(String locationName)
Returns true if the given location name is null or the system default.
-
-
-
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:
-
-