Class UnitType

java.lang.Object
org.freedesktop.dbus.Container
org.freedesktop.dbus.Struct
de.thjom.java.systemd.types.UnitBase
de.thjom.java.systemd.types.UnitType
All Implemented Interfaces:
Comparable<UnitType>

public class UnitType extends UnitBase implements Comparable<UnitType>
  • Field Details

    • unitName

      private final String unitName
    • unitDescription

      private final String unitDescription
    • loadState

      private final String loadState
    • activeState

      private final String activeState
    • subState

      private final String subState
    • followingUnit

      private final String followingUnit
    • unitObjectPath

      private final org.freedesktop.dbus.DBusPath unitObjectPath
    • jobId

      private final int jobId
    • jobType

      private final String jobType
    • jobObjectPath

      private final org.freedesktop.dbus.DBusPath jobObjectPath
  • Constructor Details

    • UnitType

      public UnitType(String unitName, String unitDescription, String loadState, String activeState, String subState, String followingUnit, org.freedesktop.dbus.DBusPath unitObjectPath, org.freedesktop.dbus.types.UInt32 jobId, String jobType, org.freedesktop.dbus.DBusPath jobObjectPath)
  • Method Details

    • getUnitName

      public String getUnitName()
    • getDescription

      public String getDescription()
    • getLoadState

      public String getLoadState()
    • getActiveState

      public String getActiveState()
    • getSubState

      public String getSubState()
    • getFollowingUnit

      public String getFollowingUnit()
    • getUnitObjectPath

      public org.freedesktop.dbus.DBusPath getUnitObjectPath()
    • getJobId

      public int getJobId()
    • getJobType

      public String getJobType()
    • getJobObjectPath

      public org.freedesktop.dbus.DBusPath getJobObjectPath()
    • toFormattedString

      public String toFormattedString()
    • compareTo

      public int compareTo(UnitType other)
      Specified by:
      compareTo in interface Comparable<UnitType>