Class HytaleManifestModel.Author

java.lang.Object
net.janrupf.gradle.hytale.dev.extension.HytaleManifestModel.Author
Enclosing class:
HytaleManifestModel

public abstract static class HytaleManifestModel.Author extends Object
A single author of a Hytale plugin.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Author(org.gradle.api.Project project)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    email(String email)
    Set the email of the author.
    abstract org.gradle.api.provider.Property<String>
    The email of the author.
    abstract org.gradle.api.provider.Property<String>
    The name of the author.
    abstract org.gradle.api.provider.Property<String>
    The URL (homepage) of the author.
    void
    name(String name)
    Set the name of the author.
    org.gradle.api.provider.Provider<Map<String,Object>>
     
    void
    url(String url)
    Set the URL (homepage) of the author.
    void
    url(URI uri)
    Set the URL (homepage) of the author.
    void
    url(URL url)
    Set the URL (homepage) of the author.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Author

      @Inject public Author(org.gradle.api.Project project)
  • Method Details

    • getName

      public abstract org.gradle.api.provider.Property<String> getName()
      The name of the author.
      Returns:
      the name property
    • getEmail

      public abstract org.gradle.api.provider.Property<String> getEmail()
      The email of the author.
      Returns:
      the email property
    • getUrl

      public abstract org.gradle.api.provider.Property<String> getUrl()
      The URL (homepage) of the author.
      Returns:
      the URL property
    • name

      public void name(String name)
      Set the name of the author.
      Parameters:
      name - the name
    • email

      public void email(String email)
      Set the email of the author.
      Parameters:
      email - the email
    • url

      public void url(String url)
      Set the URL (homepage) of the author.
      Parameters:
      url - the URL
    • url

      public void url(URI uri)
      Set the URL (homepage) of the author.
      Parameters:
      uri - the URI
    • url

      public void url(URL url)
      Set the URL (homepage) of the author.
      Parameters:
      url - the URL
    • toMap

      public org.gradle.api.provider.Provider<Map<String,Object>> toMap()