Record Class WatchdogService.WatchdogServiceReportConfig

java.lang.Object
java.lang.Record
ch.rswk.meta.engine.WatchdogService.WatchdogServiceReportConfig
Enclosing class:
WatchdogService

public static record WatchdogService.WatchdogServiceReportConfig(String engine, String engineId, @Nullable String password, @Nullable Integer schedule, @Nullable String updatePassword, @Nullable String updateUser, @Nullable String user) extends Record
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
    The field for the engine record component.
    private final String
    The field for the engineId record component.
    private final @Nullable String
    The field for the password record component.
    private final @Nullable Integer
    The field for the schedule record component.
    private final @Nullable String
    The field for the updatePassword record component.
    private final @Nullable String
    The field for the updateUser record component.
    private final @Nullable String
    The field for the user record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    WatchdogServiceReportConfig(String engine, String engineId, @Nullable String password, @Nullable Integer schedule, @Nullable String updatePassword, @Nullable String updateUser, @Nullable String user)
    Creates an instance of a WatchdogServiceReportConfig record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the engine record component.
    Returns the value of the engineId record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    @Nullable String
    Returns the value of the password record component.
    @Nullable Integer
    Returns the value of the schedule record component.
    final String
    Returns a string representation of this record class.
    @Nullable String
    Returns the value of the updatePassword record component.
    @Nullable String
    Returns the value of the updateUser record component.
    @Nullable String
    Returns the value of the user record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • engine

      private final String engine
      The field for the engine record component.
    • engineId

      private final String engineId
      The field for the engineId record component.
    • password

      private final @Nullable String password
      The field for the password record component.
    • schedule

      private final @Nullable Integer schedule
      The field for the schedule record component.
    • updatePassword

      private final @Nullable String updatePassword
      The field for the updatePassword record component.
    • updateUser

      private final @Nullable String updateUser
      The field for the updateUser record component.
    • user

      private final @Nullable String user
      The field for the user record component.
  • Constructor Details

    • WatchdogServiceReportConfig

      public WatchdogServiceReportConfig(String engine, String engineId, @Nullable String password, @Nullable Integer schedule, @Nullable String updatePassword, @Nullable String updateUser, @Nullable String user)
      Creates an instance of a WatchdogServiceReportConfig record class.
      Parameters:
      engine - the value for the engine record component
      engineId - the value for the engineId record component
      password - the value for the password record component
      schedule - the value for the schedule record component
      updatePassword - the value for the updatePassword record component
      updateUser - the value for the updateUser record component
      user - the value for the user record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • engine

      public String engine()
      Returns the value of the engine record component.
      Returns:
      the value of the engine record component
    • engineId

      public String engineId()
      Returns the value of the engineId record component.
      Returns:
      the value of the engineId record component
    • password

      public @Nullable String password()
      Returns the value of the password record component.
      Returns:
      the value of the password record component
    • schedule

      public @Nullable Integer schedule()
      Returns the value of the schedule record component.
      Returns:
      the value of the schedule record component
    • updatePassword

      public @Nullable String updatePassword()
      Returns the value of the updatePassword record component.
      Returns:
      the value of the updatePassword record component
    • updateUser

      public @Nullable String updateUser()
      Returns the value of the updateUser record component.
      Returns:
      the value of the updateUser record component
    • user

      public @Nullable String user()
      Returns the value of the user record component.
      Returns:
      the value of the user record component