Class CodegenDependency

    • Method Detail

      • name

        public final String name()

        Name of the dependency package.

        Returns:
        Name of the dependency package.
      • supportedVersion

        public final String supportedVersion()

        Indicates the version of the supported dependency package.

        Returns:
        Indicates the version of the supported dependency package.
      • isSemVer

        public final Boolean isSemVer()

        Determines if the dependency package is using Semantic versioning. If set to true, it indicates that the dependency package uses Semantic versioning.

        Returns:
        Determines if the dependency package is using Semantic versioning. If set to true, it indicates that the dependency package uses Semantic versioning.
      • reason

        public final String reason()

        Indicates the reason to include the dependency package in your project code.

        Returns:
        Indicates the reason to include the dependency package in your project code.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)