Class SystemdProperties.Toggle

java.lang.Object
com.github.jpmsilva.jsystemd.spring.autoconfigure.SystemdProperties.Toggle
Direct Known Subclasses:
SystemdProperties.ActuatorHealth, SystemdProperties.Availability, SystemdProperties.FileDescriptors, SystemdProperties.Hikari, SystemdProperties.Threads
Enclosing class:
SystemdProperties

public static class SystemdProperties.Toggle extends Object
Enables or disables one status provider.
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Check if the status provider is enabled.
      Returns:
      true if the status provider is enabled
    • setEnabled

      public void setEnabled(boolean enabled)
      Enable or disable the status provider.
      Parameters:
      enabled - true to enable the status provider