Package org.gradle.platform.base
Interface BinaryTasksCollection
-
- All Superinterfaces:
java.util.Collection<Task>,DomainObjectCollection<Task>,DomainObjectSet<Task>,java.lang.Iterable<Task>,java.util.Set<Task>
- All Known Subinterfaces:
NativeExecutableBinarySpec.TasksCollection,NativeTestSuiteBinarySpec.TasksCollection,SharedLibraryBinarySpec.TasksCollection,StaticLibraryBinarySpec.TasksCollection,TestSuiteTaskCollection
@Incubating public interface BinaryTasksCollection extends DomainObjectSet<Task>
A collection of tasks associated to a binary
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends Task>
voidcreate(java.lang.String name, java.lang.Class<T> type, Action<? super T> config)TaskgetBuild()The task that can be used to assemble this binary.TaskgetCheck()The task that can be used to check this binary.java.lang.StringtaskName(java.lang.String verb)Generates a name for a task that performs some action on the binary.java.lang.StringtaskName(java.lang.String verb, java.lang.String object)Generates a name for a task that performs some action on the binary.-
Methods inherited from interface org.gradle.api.DomainObjectCollection
addAllLater, addLater, all, all, configureEach, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType
-
Methods inherited from interface org.gradle.api.DomainObjectSet
findAll, matching, matching, withType
-
-
-
-
Method Detail
-
taskName
java.lang.String taskName(java.lang.String verb)
Generates a name for a task that performs some action on the binary.
-
taskName
java.lang.String taskName(java.lang.String verb, java.lang.String object)Generates a name for a task that performs some action on the binary.
-
getBuild
Task getBuild()
The task that can be used to assemble this binary.
-
getCheck
Task getCheck()
The task that can be used to check this binary.
-
-