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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappVersionrecord component.deploy()Returns the value of thedeployrecord component.env()Returns the value of theenvrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.q2()Returns the value of theq2record component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
Start
Creates an instance of aStartrecord class.- Parameters:
q2- the value for theq2record componentversion- the value for theversionrecord componentappVersion- the value for theappVersionrecord componentdeploy- the value for thedeployrecord componentenv- the value for theenvrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
q2
-
version
-
appVersion
Returns the value of theappVersionrecord component.- Returns:
- the value of the
appVersionrecord component
-
deploy
-
env
-