Class Scanner.DiscoveredDevice

java.lang.Object
org.networkupstools.jnut.Scanner.DiscoveredDevice
Enclosing class:
Scanner

public static class Scanner.DiscoveredDevice extends Object
Result of a scan.
Author:
Emilien Kia
See Also:
  • Method Details

    • getDriver

      public String getDriver()
      Retrieve the name of the driver used by the device.
      Returns:
      Driver name
    • getProperties

      public Map getProperties()
      Retrieve the map of device properties.
      Returns:
      Device property map
    • getProperty

      public String getProperty(String name)
      Retrieve a device property if exists.
      Parameters:
      name - Name of the property to retrieve.
      Returns:
      Property value or null if not set.
    • hasProperty

      public boolean hasProperty(String name)
      Test if the device has a property.
      Parameters:
      name - Name of the property.
      Returns:
      True if the property is set.