Interface LicenseField<T>

Type Parameters:
T - Type of the field.
All Known Implementing Classes:
HoconLicenseField

public interface LicenseField<T>
Class that represents a license field.
  • Method Summary

    Modifier and Type
    Method
    Description
    readFrom(Object licenseObject)
    Extracts the field value from a license's internal representation.
  • Method Details

    • readFrom

      @Nullable T readFrom(Object licenseObject)
      Extracts the field value from a license's internal representation.

      Actual type of the license object depends on the license implementation and must be coordinated with its fields.

      Returns:
      Field value or null if it is not present.