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:Namer
Determines the name of the given object.- Specified by:
determineName
in interfaceNamer<Task>
- Parameters:
task
- The object to determine the name of- Returns:
- The object's inherent name. Never null.
-
Named.Namer.INSTANCE
instead (sinceTask
now extendsNamed
).