Class ProjectHelper.WithPluginsTextResource

java.lang.Object
nl.elec332.gradle.minecraft.moddev.ProjectHelper.WithPluginsTextResource
All Implemented Interfaces:
org.gradle.api.Describable, org.gradle.internal.resource.Resource, org.gradle.internal.resource.TextResource
Enclosing class:
ProjectHelper

public static class ProjectHelper.WithPluginsTextResource extends Object implements org.gradle.internal.resource.TextResource
  • Constructor Details

    • WithPluginsTextResource

      public WithPluginsTextResource(org.gradle.internal.resource.TextResource resource)
  • Method Details

    • addPlugin

      public void addPlugin(String id, String version)
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface org.gradle.api.Describable
      Specified by:
      getDisplayName in interface org.gradle.internal.resource.Resource
    • getLongDisplayName

      public org.gradle.internal.DisplayName getLongDisplayName()
      Specified by:
      getLongDisplayName in interface org.gradle.internal.resource.TextResource
    • getShortDisplayName

      public org.gradle.internal.DisplayName getShortDisplayName()
      Specified by:
      getShortDisplayName in interface org.gradle.internal.resource.TextResource
    • getLocation

      public org.gradle.internal.resource.ResourceLocation getLocation()
      Specified by:
      getLocation in interface org.gradle.internal.resource.TextResource
    • getFile

      public File getFile()
      Specified by:
      getFile in interface org.gradle.internal.resource.TextResource
    • getCharset

      public Charset getCharset()
      Specified by:
      getCharset in interface org.gradle.internal.resource.TextResource
    • isContentCached

      public boolean isContentCached()
      Specified by:
      isContentCached in interface org.gradle.internal.resource.TextResource
    • getExists

      public boolean getExists()
      Specified by:
      getExists in interface org.gradle.internal.resource.TextResource
    • getHasEmptyContent

      public boolean getHasEmptyContent()
      Specified by:
      getHasEmptyContent in interface org.gradle.internal.resource.TextResource
    • getText

      public String getText()
      Specified by:
      getText in interface org.gradle.internal.resource.TextResource
    • getContentHash

      public org.gradle.internal.hash.HashCode getContentHash() throws org.gradle.api.resources.ResourceException
      Specified by:
      getContentHash in interface org.gradle.internal.resource.TextResource
      Throws:
      org.gradle.api.resources.ResourceException
    • getAsReader

      public Reader getAsReader()
      Specified by:
      getAsReader in interface org.gradle.internal.resource.TextResource