Class CpeMatch

  • All Implemented Interfaces:
    java.io.Serializable

    @NullMarked
    public class CpeMatch
    extends java.lang.Object
    implements java.io.Serializable
    CPE match string or range
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CpeMatch​(java.lang.Boolean vulnerable, java.lang.String criteria, java.lang.String matchCriteriaId)
      Constructor taking only the required set of JSON properties as the minimal constructor for a CpeMatch.
      CpeMatch​(java.lang.Boolean vulnerable, java.lang.String criteria, java.lang.String matchCriteriaId, @Nullable java.lang.String versionStartExcluding, @Nullable java.lang.String versionStartIncluding, @Nullable java.lang.String versionEndExcluding, @Nullable java.lang.String versionEndIncluding)  
    • Constructor Detail

      • CpeMatch

        public CpeMatch​(java.lang.Boolean vulnerable,
                        java.lang.String criteria,
                        java.lang.String matchCriteriaId)
        Constructor taking only the required set of JSON properties as the minimal constructor for a CpeMatch.
        Parameters:
        vulnerable - The vulnerable for the CpeMatch (required JSON property)
        criteria - The criteria for the CpeMatch (required JSON property)
        matchCriteriaId - The matchCriteriaId for the CpeMatch (required JSON property)
      • CpeMatch

        public CpeMatch​(java.lang.Boolean vulnerable,
                        java.lang.String criteria,
                        java.lang.String matchCriteriaId,
                        @Nullable java.lang.String versionStartExcluding,
                        @Nullable java.lang.String versionStartIncluding,
                        @Nullable java.lang.String versionEndExcluding,
                        @Nullable java.lang.String versionEndIncluding)
    • Method Detail

      • getVulnerable

        public java.lang.Boolean getVulnerable()
        (Required)
        Returns:
        vulnerable
      • getCriteria

        public java.lang.String getCriteria()
        (Required)
        Returns:
        criteria
      • getMatchCriteriaId

        public java.lang.String getMatchCriteriaId()
        (Required)
        Returns:
        matchCriteriaId
      • getVersionStartExcluding

        public @Nullable java.lang.String getVersionStartExcluding()
        Returns:
        versionStartExcluding
      • getVersionStartIncluding

        public @Nullable java.lang.String getVersionStartIncluding()
        Returns:
        versionStartIncluding
      • getVersionEndExcluding

        public @Nullable java.lang.String getVersionEndExcluding()
        Returns:
        versionStartIncluding
      • getVersionEndIncluding

        public @Nullable java.lang.String getVersionEndIncluding()
        Returns:
        versionEndIncluding
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object