Package org.gradle.api
Schnittstelle Describable
- Alle bekannten Unterschnittstellen:
AntlrSourceDirectorySet,BuildInitSpec,CapabilitySelector,FileCopyDetails,GitVersionControlSpec,GroovySourceDirectorySet,IdeWorkspace,JavaToolchainSpec,MutableVersionConstraint,NativePlatform,ScalaSourceDirectorySet,SourceDirectorySet,VersionConstraint,VersionControlSpec,VisualStudioSolution,XcodeWorkspace
- Alle bekannten Implementierungsklassen:
IdeaProject
public interface Describable
Types can implement this interface when they provide a human-readable display name.
It is strongly encouraged to compute this display name lazily: computing a display name,
even if it's only a string concatenation, can take a significant amount of time during
configuration for something that would only be used, typically, in error messages.
- Seit:
- 3.4
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the display name of this object.
-
Methodendetails
-
getDisplayName
String getDisplayName()Returns the display name of this object. It is strongly encouraged to compute it lazily, and cache the value if it is expensive.- Gibt zurück:
- the display name
-