Class TaskSetResolver
- java.lang.Object
-
- org.ysb33r.gradle.iac.base.internal.tf.TaskSetResolver
-
public class TaskSetResolver extends java.lang.ObjectResolves task classes- Since:
- 2.1
-
-
Constructor Summary
Constructors Constructor Description TaskSetResolver(org.gradle.api.Project project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTasksToLifecycleTask(java.lang.String lifecycleTaskName, java.lang.Iterable<java.lang.String> taskNames)Registers a collection of tasks with a lifecycle task.voidresolveDestroyOrder(java.util.Collection<java.lang.Class<? extends org.ysb33r.gradle.iac.base.tf.tasks.AbstractTfStandardTask>> taskClasses, java.util.Collection<java.lang.String> taskBaseNames, java.util.Collection<java.lang.String> mustRunAfterTheseNames)Given a selection of task classes, of which the names start with the list of base names, they will be rquired to run after another set of provided tasks.
-
-
-
Method Detail
-
resolveDestroyOrder
public void resolveDestroyOrder(java.util.Collection<java.lang.Class<? extends org.ysb33r.gradle.iac.base.tf.tasks.AbstractTfStandardTask>> taskClasses, java.util.Collection<java.lang.String> taskBaseNames, java.util.Collection<java.lang.String> mustRunAfterTheseNames)Given a selection of task classes, of which the names start with the list of base names, they will be rquired to run after another set of provided tasks.- Parameters:
taskClasses- Set of classestaskBaseNames- Base names for the above set of classes.mustRunAfterTheseNames- These are the tasks that come first in the execution order.
-
addTasksToLifecycleTask
public void addTasksToLifecycleTask(java.lang.String lifecycleTaskName, java.lang.Iterable<java.lang.String> taskNames)Registers a collection of tasks with a lifecycle task.- Parameters:
lifecycleTaskName- Name of the lifecycle tasktaskNames- Name of other tasks.
-
-