Record Class Start

java.lang.Object
java.lang.Record
org.jpos.log.evt.Start
Record Components:
q2 - The identifier of the Q2 system instance from which the log is originating.
version - The version of the Q2 system, detailing the specific build or release version.
appVersion - The version of the application that is running within the Q2 system, providing context about the application's release state.
deploy - Absolute path to Q2's deploy directory.
env - The name of the environment in which the application is running.
All Implemented Interfaces:
AuditLogEvent

public record Start(UUID q2, String version, String appVersion, String deploy, String env) extends Record implements AuditLogEvent
Represents the starting log entry for an auditing process in the system. This record encapsulates all the essential details needed for initializing audit logs in a structured and consistent format.
  • Constructor Details

    • Start

      public Start(UUID q2, String version, String appVersion, String deploy, String env)
      Creates an instance of a Start record class.
      Parameters:
      q2 - the value for the q2 record component
      version - the value for the version record component
      appVersion - the value for the appVersion record component
      deploy - the value for the deploy record component
      env - the value for the env 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.
    • q2

      public UUID q2()
      Returns the value of the q2 record component.
      Returns:
      the value of the q2 record component
    • version

      public String version()
      Returns the value of the version record component.
      Returns:
      the value of the version record component
    • appVersion

      public String appVersion()
      Returns the value of the appVersion record component.
      Returns:
      the value of the appVersion record component
    • deploy

      public String deploy()
      Returns the value of the deploy record component.
      Returns:
      the value of the deploy record component
    • env

      public String env()
      Returns the value of the env record component.
      Returns:
      the value of the env record component