Record Class NuggetIntrospection.ApplicationDetail

java.lang.Object
java.lang.Record
org.j7m.middleware.operations.api.NuggetIntrospection.ApplicationDetail
Record Components:
summary - base summary
declaredServices - safe service summaries
moduleNames - module names
capabilities - safe capabilities
verificationStatus - verification status
signatureStatus - signature status
sbomStatus - SBOM presence/status
provenanceStatus - provenance status
auditCounters - safe audit counters
Enclosing class:
NuggetIntrospection

public static record NuggetIntrospection.ApplicationDetail(NuggetIntrospection.ApplicationSummary summary, List<NuggetIntrospection.ServiceSummary> declaredServices, List<String> moduleNames, Map<String,String> capabilities, String verificationStatus, String signatureStatus, String sbomStatus, String provenanceStatus, Map<String,Long> auditCounters) extends Record
Application detail projection.
  • 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. 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.
    • summary

      Returns the value of the summary record component.
      Returns:
      the value of the summary record component
    • declaredServices

      public List<NuggetIntrospection.ServiceSummary> declaredServices()
      Returns the value of the declaredServices record component.
      Returns:
      the value of the declaredServices record component
    • moduleNames

      public List<String> moduleNames()
      Returns the value of the moduleNames record component.
      Returns:
      the value of the moduleNames record component
    • capabilities

      public Map<String,String> capabilities()
      Returns the value of the capabilities record component.
      Returns:
      the value of the capabilities record component
    • verificationStatus

      public String verificationStatus()
      Returns the value of the verificationStatus record component.
      Returns:
      the value of the verificationStatus record component
    • signatureStatus

      public String signatureStatus()
      Returns the value of the signatureStatus record component.
      Returns:
      the value of the signatureStatus record component
    • sbomStatus

      public String sbomStatus()
      Returns the value of the sbomStatus record component.
      Returns:
      the value of the sbomStatus record component
    • provenanceStatus

      public String provenanceStatus()
      Returns the value of the provenanceStatus record component.
      Returns:
      the value of the provenanceStatus record component
    • auditCounters

      public Map<String,Long> auditCounters()
      Returns the value of the auditCounters record component.
      Returns:
      the value of the auditCounters record component