Class Apache2LicenseFeature

java.lang.Object
io.micronaut.projectgen.core.feature.license.Apache2LicenseFeature
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, Feature, LicenseFeature, OneOfFeature

@Singleton public class Apache2LicenseFeature extends Object implements LicenseFeature
LicenseFeature for Apache 2.0. License.
  • Constructor Details

    • Apache2LicenseFeature

      public Apache2LicenseFeature()
  • Method Details

    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface Feature
      Returns:
      The title of the feature
    • getName

      public String getName()
      Description copied from interface: Feature
      The name of the feature. It must be unique.
      Specified by:
      getName in interface Feature
      Specified by:
      getName in interface io.micronaut.core.naming.Named
      Returns:
      the name of the feature
    • licenseModel

      public com.fizzed.rocker.RockerModel licenseModel(GeneratorContext generatorContext)
      Specified by:
      licenseModel in interface LicenseFeature