Provide convention naming.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
DEFAULT_SOURCESET_NAME |
|
static java.lang.String |
DEFAULT_WORKSPACE |
|
static java.lang.String |
TERRAFORM_INIT |
Type Params | Return Type | Name and description |
---|---|---|
|
static java.lang.String |
backendTaskName(java.lang.String sourceSetName) THe name of the backend configuration task. |
|
static void |
createTasksByConvention(Project project, TerraformSourceDirectorySet sourceSet) Creates or registers the tasks associated with a sourceset using specific conventions |
|
static void |
createWorkspaceTasksByConvention(Project project, TerraformSourceDirectorySet sourceSet, java.lang.String workspaceName) Creates or registers the tasks associated with an additional workspace in a sourceset. |
|
static java.lang.String |
sourceSetDisplayName(java.lang.String sourceSetName) Returns the default text used for a Terraform source set |
|
static java.lang.String |
taskName(java.lang.String sourceSetName, java.lang.String commandType) Provides a task name |
|
static java.lang.String |
taskName(java.lang.String sourceSetName, java.lang.String commandType, java.lang.String workspaceName) Provides a task name |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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 name of the backend configuration task.
sourceSetName
- Name of source set. Creates or registers the tasks associated with a sourceset using specific conventions
For any sourceset other than main
, tasks will be named using a pattern such as
terraform<SourceSetName> Init
and source directories will be src/tf/<sourceSetName>
.
project
- Project Project to attache source set to.sourceSetName
- Name of Terraform source set. Creates or registers the tasks associated with an additional workspace in a sourceset.
For any source set other than main
, tasks will be named using a pattern such as
terraform<SourceSetName> Init<WorkspaceName>
.
project
- Project to attach source set to.sourceSetName
- Name of Terraform source set.workspaceName
- Name of workspaceReturns the default text used for a Terraform source set
sourceSetName
- Name of the source setProvides a task name
sourceSetName
- Name of source set the task will be associated with.commandType
- The Terraform command that this task will wrap.Provides a task name
sourceSetName
- Name of source set the task will be associated with.commandType
- The Terraform command that this task will wrap.workspaceName
- Name of workspace. if null
will act as if workspace-agnostic