java.lang.Object
de.thjom.java.systemd.AbstractAdapter
de.thjom.java.systemd.InterfaceAdapter
de.thjom.java.systemd.Properties
- All Implemented Interfaces:
org.freedesktop.dbus.interfaces.DBusInterface
-
Nested Class Summary
Nested classes/interfaces inherited from class de.thjom.java.systemd.InterfaceAdapter
InterfaceAdapter.AdapterProperty -
Field Summary
FieldsFields inherited from class de.thjom.java.systemd.InterfaceAdapter
dbus, propertiesFields inherited from class de.thjom.java.systemd.AbstractAdapter
unitStateListeners -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateProperties(org.freedesktop.dbus.connections.impl.DBusConnection dbus, PropertyInterface iface, String serviceName) -
Method Summary
Modifier and TypeMethodDescription(package private) static Propertiescreate(org.freedesktop.dbus.connections.impl.DBusConnection dbus, String objectPath, String serviceName) booleangetBigInteger(String propertyName) booleangetBoolean(String propertyName) bytedoubleintgetInteger(String propertyName) <T> List<T> longReturns this interface adapter (unlike the implementations in the other interface adapters).shortorg.freedesktop.dbus.types.Variant<?> getVariant(String propertyName) inthashCode()Methods inherited from class de.thjom.java.systemd.InterfaceAdapter
addHandler, getObjectPath, isRemote, removeHandlerMethods inherited from class de.thjom.java.systemd.AbstractAdapter
addListener, createStateHandler, removeListener
-
Field Details
-
SERVICE_NAME
- See Also:
-
serviceName
-
-
Constructor Details
-
Properties
private Properties(org.freedesktop.dbus.connections.impl.DBusConnection dbus, PropertyInterface iface, String serviceName)
-
-
Method Details
-
create
static Properties create(org.freedesktop.dbus.connections.impl.DBusConnection dbus, String objectPath, String serviceName) throws org.freedesktop.dbus.exceptions.DBusException - Throws:
org.freedesktop.dbus.exceptions.DBusException
-
equals
- Overrides:
equalsin classInterfaceAdapter
-
hashCode
public int hashCode()- Overrides:
hashCodein classInterfaceAdapter
-
getInterface
- Overrides:
getInterfacein classInterfaceAdapter
-
getProperties
Returns this interface adapter (unlike the implementations in the other interface adapters).- Overrides:
getPropertiesin classInterfaceAdapter- Returns:
- The property interface adapter.
-
getVariant
-
getBoolean
-
getByte
-
getShort
-
getInteger
-
getLong
-
getBigInteger
-
getDouble
-
getString
-
getList
-