Class Software

    • Constructor Detail

      • Software

        @ConstructorProperties({"scannerId","type","dependencyType","name","version","versionSelector","packaging","scope"})
        public Software​(java.lang.String scannerId,
                        SoftwareType type,
                        SoftwareDependencyType dependencyType,
                        java.lang.String name,
                        java.lang.String version,
                        java.lang.String versionSelector,
                        java.lang.String packaging,
                        SoftwareScope scope)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getVersion

        public java.lang.String getVersion()
      • getVersionSelector

        public java.lang.String getVersionSelector()
      • getPackaging

        public java.lang.String getPackaging()
      • 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
      • toString

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

        public Software withScannerId​(java.lang.String scannerId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withType

        public Software withType​(SoftwareType type)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDependencyType

        public Software withDependencyType​(SoftwareDependencyType dependencyType)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withName

        public Software withName​(java.lang.String name)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withVersion

        public Software withVersion​(java.lang.String version)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withVersionSelector

        public Software withVersionSelector​(java.lang.String versionSelector)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withPackaging

        public Software withPackaging​(java.lang.String packaging)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withScope

        public Software withScope​(SoftwareScope scope)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).