Package org.gradle.api
Class Task.Namer
java.lang.Object
org.gradle.api.Task.Namer
- Enclosing interface:
- Task
Deprecated.
An implementation of the namer interface for tasks that returns
Task.getName().-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Namer
Namer.Comparator<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetermineName(Task task) Deprecated.Determines the name of the given object.
-
Constructor Details
-
Namer
public Namer()Deprecated.
-
-
Method Details
-
determineName
Deprecated.Description copied from interface:NamerDetermines the name of the given object.- Specified by:
determineNamein interfaceNamer<Task>- Parameters:
task- The object to determine the name of- Returns:
- The object's inherent name. Never null.
-
Named.Namer.INSTANCEinstead (sinceTasknow extendsNamed).