Record Class DevMonitoringConfig

java.lang.Object
java.lang.Record
io.fluxzero.devserver.DevMonitoringConfig

public record DevMonitoringConfig(String auditlogJar, String uiDirectory, String storage, String victoriaLogsBinary, Long maxRecords, Long maxBytes, String retention, String javaExecutable, Long maxDiskBytes, Boolean enabled) extends Record
Local Auditlog artifacts; both storage implementations use the same UI and backend.
  • Constructor Details

    • DevMonitoringConfig

      public DevMonitoringConfig(String auditlogJar, String uiDirectory, String storage, String victoriaLogsBinary, Long maxRecords, Long maxBytes, String retention, String javaExecutable, Long maxDiskBytes)
    • DevMonitoringConfig

      public DevMonitoringConfig(String auditlogJar, String uiDirectory, String storage, String victoriaLogsBinary, Long maxRecords, Long maxBytes, String retention, String javaExecutable, Long maxDiskBytes, Boolean enabled)
      Creates an instance of a DevMonitoringConfig record class.
      Parameters:
      auditlogJar - the value for the auditlogJar record component
      uiDirectory - the value for the uiDirectory record component
      storage - the value for the storage record component
      victoriaLogsBinary - the value for the victoriaLogsBinary record component
      maxRecords - the value for the maxRecords record component
      maxBytes - the value for the maxBytes record component
      retention - the value for the retention record component
      javaExecutable - the value for the javaExecutable record component
      maxDiskBytes - the value for the maxDiskBytes record component
      enabled - the value for the enabled 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.
    • auditlogJar

      public String auditlogJar()
      Returns the value of the auditlogJar record component.
      Returns:
      the value of the auditlogJar record component
    • uiDirectory

      public String uiDirectory()
      Returns the value of the uiDirectory record component.
      Returns:
      the value of the uiDirectory record component
    • storage

      public String storage()
      Returns the value of the storage record component.
      Returns:
      the value of the storage record component
    • victoriaLogsBinary

      public String victoriaLogsBinary()
      Returns the value of the victoriaLogsBinary record component.
      Returns:
      the value of the victoriaLogsBinary record component
    • maxRecords

      public Long maxRecords()
      Returns the value of the maxRecords record component.
      Returns:
      the value of the maxRecords record component
    • maxBytes

      public Long maxBytes()
      Returns the value of the maxBytes record component.
      Returns:
      the value of the maxBytes record component
    • retention

      public String retention()
      Returns the value of the retention record component.
      Returns:
      the value of the retention record component
    • javaExecutable

      public String javaExecutable()
      Returns the value of the javaExecutable record component.
      Returns:
      the value of the javaExecutable record component
    • maxDiskBytes

      public Long maxDiskBytes()
      Returns the value of the maxDiskBytes record component.
      Returns:
      the value of the maxDiskBytes record component
    • enabled

      public Boolean enabled()
      Returns the value of the enabled record component.
      Returns:
      the value of the enabled record component