Base class for an extension that can both be used on a project or a task.
| Type | Name and description |
|---|---|
org.ysb33r.grolifant.api.core.ProjectOperations |
projectOperationsorg.ysb33r.grolifant.api.core.ProjectOperations instance that the extension can use. |
| Constructor and description |
|---|
protected CombinedProjectTaskExtensionBase
(org.ysb33r.grolifant.api.core.ProjectOperations projectOperations)Attach this extension to a project |
protected CombinedProjectTaskExtensionBase
(Task task, org.ysb33r.grolifant.api.core.ProjectOperations projectOperations, T projectExtension)Attach this extension to a task |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected T |
getProjectExtension()If this extension is attached to a task, this point to the global project extension if it exists, other null. |
|
protected Task |
getTask()Task this extension is attached to. |
org.ysb33r.grolifant.api.core.ProjectOperations instance that the extension can use.
Attach this extension to a project
project - Project to attach to.Attach this extension to a task
task - Task to attach to If this extension is attached to a task, this point to the global project extension if it exists,
other null.
Task this extension is attached to. Will be null if extension is attached to a project.
Groovy Documentation