Class Device

All Implemented Interfaces:
UnitStateNotifier, org.freedesktop.dbus.interfaces.DBusInterface

public class Device extends Unit
  • Field Details

  • Constructor Details

    • Device

      private Device(Manager manager, DeviceInterface iface, String name) throws org.freedesktop.dbus.exceptions.DBusException
      Throws:
      org.freedesktop.dbus.exceptions.DBusException
  • Method Details

    • create

      static Device create(Manager manager, String name) throws org.freedesktop.dbus.exceptions.DBusException
      Throws:
      org.freedesktop.dbus.exceptions.DBusException
    • getInterface

      public DeviceInterface getInterface()
      Overrides:
      getInterface in class Unit
    • getSysFSPath

      public String getSysFSPath()