Resource (Gradle API 9.1.0)
Description: declaration: package: org.gradle.api.resources, interface: Resource

Package org.gradle.api.resources

# Interface Resource

All Known Subinterfaces:
  `ReadableResource`

public interface Resource
A generic resource of some kind. Only describes the resource. There are more specific interface that extend this one and specify ways of accessing the resource's content.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getBaseName()`
  Short name that concisely describes this resource
  `String`
  `getDisplayName()`
  Human readable name of this resource
  `URI`
  `getURI()`
  Uniform resource identifier that uniquely describes this resource

- ## Method Details

  - ### getDisplayName

    String getDisplayName()
    Human readable name of this resource
    Returns:
      human readable name, should not be null

  - ### getURI

    URI getURI()
    Uniform resource identifier that uniquely describes this resource
    Returns:
      unique URI, should not be null

  - ### getBaseName

    String getBaseName()
    Short name that concisely describes this resource
    Returns:
      concise base name, should not be null