Record Class IdeRuntimeProvenance

java.lang.Object
java.lang.Record
nl.pim16aap2.lightkeeper.runtime.IdeRuntimeProvenance
Record Components:
schemaVersion - Provenance document schema version.
moduleDirectory - Canonical owning module directory.
executionId - Maven execution that prepared the runtime.
serverType - Selected server platform.
preparationFingerprint - Effective preparation input fingerprint.
runtimeProtocolVersion - Runtime protocol version.
requiredArtifacts - Immutable durable artifacts required at launch.
sourceInputs - Local inputs examined during setup.

public record IdeRuntimeProvenance(int schemaVersion, String moduleDirectory, String executionId, String serverType, String preparationFingerprint, int runtimeProtocolVersion, List<IdeRuntimeProvenance.Artifact> requiredArtifacts, List<IdeRuntimeProvenance.Artifact> sourceInputs) extends Record
Integrity and input provenance recorded beside a durable IDE runtime manifest.
  • Field Details

    • SCHEMA_VERSION

      public static final int SCHEMA_VERSION
      Current provenance document schema version.
      See Also:
  • Constructor Details

  • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • schemaVersion

      public int schemaVersion()
      Returns the value of the schemaVersion record component.
      Returns:
      the value of the schemaVersion record component
    • moduleDirectory

      public String moduleDirectory()
      Returns the value of the moduleDirectory record component.
      Returns:
      the value of the moduleDirectory record component
    • executionId

      public String executionId()
      Returns the value of the executionId record component.
      Returns:
      the value of the executionId record component
    • serverType

      public String serverType()
      Returns the value of the serverType record component.
      Returns:
      the value of the serverType record component
    • preparationFingerprint

      public String preparationFingerprint()
      Returns the value of the preparationFingerprint record component.
      Returns:
      the value of the preparationFingerprint record component
    • runtimeProtocolVersion

      public int runtimeProtocolVersion()
      Returns the value of the runtimeProtocolVersion record component.
      Returns:
      the value of the runtimeProtocolVersion record component
    • requiredArtifacts

      public List<IdeRuntimeProvenance.Artifact> requiredArtifacts()
      Returns the value of the requiredArtifacts record component.
      Returns:
      the value of the requiredArtifacts record component
    • sourceInputs

      public List<IdeRuntimeProvenance.Artifact> sourceInputs()
      Returns the value of the sourceInputs record component.
      Returns:
      the value of the sourceInputs record component