Configures a wrench project.
(Missing: Notes about the relationship between the project being configured and the wrench project that will execute the wrench.)
| Type | Name and description |
|---|---|
java.lang.String |
stagingRelpathThe relative path to use when running the wrench locally as part of the build. |
java.io.File |
wrenchFileThe wrench file. |
java.lang.String |
wrenchFileNameThe wrench file name. |
| Constructor and description |
|---|
PlanStaging
(java.util.Map options)Constructor. |
PlanStaging
()Constructor that applies default values. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
apply(org.gradle.api.Project project)Configures the parameter project to build a wrench. |
|
static void |
applyStagingPlugin(org.gradle.api.Project project)Applies the staging plugin to the project |
|
void |
applyWrench(org.gradle.api.Project project) |
|
void |
configureBuild(org.gradle.api.Project project) |
|
void |
configureBuildTasks(org.gradle.api.Project project) |
|
void |
configureDelegation(org.gradle.api.Project project) |
|
void |
configureDelegation(org.gradle.api.Project project, java.lang.String taskName, java.lang.String nodeName, java.lang.String qualifier) |
|
org.gradle.api.Task |
configureGradleBuild(org.gradle.api.Project project, java.util.Map target, org.gradle.api.Task start)Creates the task to create the Gradle build file for executing the wrench. |
|
org.gradle.api.Task |
configureGradlePropertiesTask(org.gradle.api.Project project, java.util.Map target, org.gradle.api.Task previous) |
|
org.gradle.api.tasks.Copy |
configureGradleWrapperTask(org.gradle.api.Project project, java.util.Map target, org.gradle.api.Task start)Creates the task to put in place the Gradle wrapper for executing the wrench. |
|
void |
configureMainTasks(org.gradle.api.Project project) |
|
void |
configurePublishing(org.gradle.api.Project project) |
|
org.gradle.api.tasks.Copy |
configureRunbookTask(org.gradle.api.Project project, java.util.Map target, org.gradle.api.Task previous) |
|
org.gradle.api.DefaultTask |
configureSettingsTask(org.gradle.api.Project project, java.util.Map target, org.gradle.api.Task previous) |
|
void |
configureStageTask(org.gradle.api.Project project) |
|
void |
configureStagingExtension(org.gradle.api.Project project)Configures the staging extension with targets. |
|
void |
configureTarget(org.gradle.api.Project project, java.util.Map target, org.gradle.api.Task start)Configures an individual target defined by the staging extension. |
|
void |
configureTargets(org.gradle.api.Project project, org.gradle.api.Task start)Configures the targets defined by the staging extension. |
|
static void |
configureVelocityTask(org.gradle.api.Project project)Configures the target-agnostic Velocity template instantiation that executes before any target tasks; not yet configurable; hardcoded. |
|
java.io.File |
findWrenchFile(org.gradle.api.Project project)Locates the wrench file the project should build, or throws. |
|
java.lang.String |
getEnvironmentName(org.gradle.api.Project project, java.lang.String suffix) |
|
java.io.File |
getStagingDir(org.gradle.api.Project project, java.util.Map target) |
|
void |
instantiateBuildTemplate(org.gradle.api.Project project, java.util.Map target) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The relative path to use when running the wrench locally as part of the build.
Defaults to .wrench. It is best not to override this value.
The wrench file. Normally derived from the file name but can be set explicitly. This is very rarely needed.
The wrench file name. Defaults to runbook.wrench.
Constructor. The map parameter may be empty or may hold:
wrenchFileName: Overrides the wrench file namewrenchFile: Sets the wrench file explicitlystagingRelpath: Changes the default staging locationoptions - The options map, which may be empty or nullConstructor that applies default values.
Configures the parameter project to build a wrench.
project - The project to configureApplies the staging plugin to the project
project - The project being configuredCreates the task to create the Gradle build file for executing the wrench.
This build file is not related to the parameter project. Instead it defines a complete Gradle build. See notes in the class header.
project - The project being configuredtarget - The target being configuredstart - A start dependency that must execute firstCreates the task to put in place the Gradle wrapper for executing the wrench.
project - The project being configuredtarget - The target being configuredstart - A start dependency that must execute firstConfigures the staging extension with targets.
project - The project being configuredConfigures an individual target defined by the staging extension.
project - The project being configuredtarget - The target being configuredstart - A start dependency that needs to execute before the target tasksConfigures the targets defined by the staging extension.
project - The project being configuredConfigures the target-agnostic Velocity template instantiation that executes before any target tasks; not yet configurable; hardcoded.
project - The project being configuredLocates the wrench file the project should build, or throws.
project - The project that builds the wrenchGroovy Documentation