@groovy.transform.CompileStatic class OpenTofuSourceSet extends SourceSetBase
Describes an OpenTofu source set.
Modifiers | Name | Description |
---|---|---|
static String |
DEFAULT_WORKSPACE |
Fields inherited from class | Fields |
---|---|
class SourceSetBase |
__$stMC, __$stMC |
Constructor and description |
---|
OpenTofuSourceSet
(String name, OpenTofuExtension parent, Project project) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
createWorkspaceTasks(String workspaceName) Invoked when a workspace is added. |
|
protected java.util.List<String> |
getDestroyRelationshipTaskNames(String ws) |
|
protected java.util.List<Class<? extends AbstractTfStandardTask>> |
getDestroyTaskTypes() Types of tasks that are important in inter-source set relationships when resources are being destroyed. |
|
protected TaskProvider<AbstractOutputJsonTask> |
getOutputTask(String workspaceName) |
|
protected java.util.List<String> |
getRelationshipTaskNames(String ws) Names of tasks that are important in inter-source set relationships. |
|
protected NamedDomainObjectContainer<? extends SourceSetBase> |
getSourceSetContainer() Get access to the container this source set belongs too. |
|
void |
useBackend(String name) Looks up a backend by name and then set this sourceset to use that backend. |
|
void |
useConfiguredPluginCache() Use the plugin cache directory that is configured in the global configuration of the root project. |
|
void |
useToolchain(String name) Which toolchain to use. |
Invoked when a workspace is added.
workspaceName
- Name of workspace,Types of tasks that are important in inter-source set relationships when resources are being destroyed.
Names of tasks that are important in inter-source set relationships.
ws
- Name of workspace.Get access to the container this source set belongs too.
null
.Looks up a backend by name and then set this sourceset to use that backend.
name
- Name of backend.Use the plugin cache directory that is configured in the global configuration of the root project.