Class VariantImpl

java.lang.Object
net.kyori.blossom.internal.VariantImpl
All Implemented Interfaces:
Variant, org.gradle.api.Named

public class VariantImpl extends Object implements Variant
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.gradle.api.Named

    org.gradle.api.Named.Namer
  • Constructor Summary

    Constructors
    Constructor
    Description
    VariantImpl(String name, org.gradle.api.model.ObjectFactory objects)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
     
    @NotNull org.gradle.api.provider.MapProperty<String,Object>
    Runtime properties for inserting into templates.
    @NotNull org.gradle.api.file.ConfigurableFileCollection
    Data files containing template parameters.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.kyori.blossom.Variant

    properties
  • Constructor Details

    • VariantImpl

      @Inject public VariantImpl(String name, org.gradle.api.model.ObjectFactory objects)
  • Method Details

    • getName

      @NotNull public @NotNull String getName()
      Specified by:
      getName in interface org.gradle.api.Named
      Specified by:
      getName in interface Variant
    • getPropertyFiles

      @InputFiles @NotNull public @NotNull org.gradle.api.file.ConfigurableFileCollection getPropertyFiles()
      Description copied from interface: Variant
      Data files containing template parameters.
      Specified by:
      getPropertyFiles in interface Variant
      Returns:
      the data files to read
    • getProperties

      @Input @NotNull public @NotNull org.gradle.api.provider.MapProperty<String,Object> getProperties()
      Description copied from interface: Variant
      Runtime properties for inserting into templates.
      Specified by:
      getProperties in interface Variant
      Returns:
      the properties map