@groovy.transform.CompileStatic class TerraformSourceDirectorySet extends java.lang.Object
Describes a Terraform source set
Type | Name and description |
---|---|
org.gradle.api.provider.Provider<java.io.File> |
dataDir |
java.lang.String |
displayName Displayable name of source set. |
java.util.Set<java.lang.String> |
excludes |
java.util.Set<java.lang.String> |
includes |
org.gradle.api.provider.Provider<java.io.File> |
logDir |
java.lang.String |
name Source directory name |
org.gradle.api.provider.Provider<java.io.File> |
reportsDir |
org.gradle.api.provider.Provider<java.io.File> |
srcDir |
Constructor and description |
---|
TerraformSourceDirectorySet
(org.gradle.api.Project project, java.lang.String name, java.lang.String displayName) Constructs the source set. |
Type Params | Return Type | Name and description |
---|---|---|
|
org.gradle.api.tasks.util.PatternFilterable |
exclude(groovy.lang.Closure closure) |
|
org.gradle.api.tasks.util.PatternFilterable |
exclude(org.gradle.api.specs.Spec<org.gradle.api.file.FileTreeElement> spec) |
|
org.gradle.api.tasks.util.PatternFilterable |
exclude(java.lang.String... strings) |
|
org.gradle.api.tasks.util.PatternFilterable |
exclude(java.lang.Iterable<java.lang.String> iterable) |
|
org.gradle.api.file.FileTree |
getAsFileTree() Returns terraform source tree |
|
org.gradle.api.provider.Provider<java.io.File> |
getDataDir() Data directory provider. |
|
java.util.Set<java.lang.String> |
getExcludes() |
|
org.gradle.api.tasks.util.PatternFilterable |
getFilter() Returns the pattern filter. |
|
java.util.Set<java.lang.String> |
getIncludes() |
|
org.gradle.api.provider.Provider<java.io.File> |
getLogDir() Log directory provider. |
|
org.gradle.api.provider.Provider<java.util.Map<java.lang.String, ?>> |
getRawOutputVariables() Returns a provider which can be used to access output variables from a source set. |
|
org.gradle.api.provider.Provider<java.io.File> |
getReportsDir() Reports directory. |
|
org.gradle.api.provider.Provider<java.io.File> |
getSrcDir() Provide for the root directory of the source set, |
|
VariablesSpec |
getVariables() Get all terraform variables applicable to this source set. |
|
org.gradle.api.tasks.util.PatternFilterable |
include(java.lang.String... strings) |
|
org.gradle.api.tasks.util.PatternFilterable |
include(java.lang.Iterable<java.lang.String> iterable) |
|
org.gradle.api.tasks.util.PatternFilterable |
include(org.gradle.api.specs.Spec<org.gradle.api.file.FileTreeElement> spec) |
|
org.gradle.api.tasks.util.PatternFilterable |
include(groovy.lang.Closure closure) |
|
org.gradle.api.provider.Provider<java.lang.Object> |
rawOutputVariable(java.lang.String varName) Returns a provider to a specific output variable. |
|
TerraformSourceDirectorySet |
setDataDir(java.lang.Object dir) Sets the Terraform data directory. |
|
org.gradle.api.tasks.util.PatternFilterable |
setExcludes(java.lang.Iterable<java.lang.String> iterable) |
|
org.gradle.api.tasks.util.PatternFilterable |
setIncludes(java.lang.Iterable<java.lang.String> iterable) |
|
TerraformSourceDirectorySet |
setLogDir(java.lang.Object dir) Sets the log directory. |
|
TerraformSourceDirectorySet |
setReportsDir(java.lang.Object dir) Sets the reports directory. |
|
TerraformSourceDirectorySet |
setSrcDir(java.lang.Object dir) Sets the source directory. |
|
java.lang.String |
terraformPath(java.lang.Object file) Converts a file path to a format suitable for interpretation by Terraform on the appropriate platform. |
|
java.lang.String |
toString() The display name is the string representation of the source set. |
|
void |
variables(groovy.lang.Closure cfg) Sets Terraform variables that are applicable to this source set. |
|
void |
variables(org.gradle.api.Action<VariablesSpec> cfg) Sets Terraform variables that are applicable to this source set. |
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() |
Displayable name of source set.
Source directory name
Constructs the source set.
project
- Project this sourcer set is attached to.name
- Name of source set.displayName
- Display name of source set.Returns terraform source tree
Data directory provider.
Returns the pattern filter.
Log directory provider.
Returns a provider which can be used to access output variables from a source set.
Invoking the provider return by this call will invoke terraform output
the first time, but thereafter
values will be cached for the remainder of of the build. If you want updates values, ensure the relavent
TerraformApply task is run before invoking the provider.
Reports directory.
Provide for the root directory of the source set,
Get all terraform variables applicable to this source set.
Returns a provider to a specific output variable.
Invoking the provider return by this call will invoke terraform output
the first time, but thereafter
values will be cached for the remainder of of the build. If you want updates values, ensure the relavent
TerraformApply task is run before invoking the provider.
Sets the Terraform data directory.
dir
- Directory can be anything convertible using org.gradle.api.Project#file.this
.Sets the log directory.
dir
- Directory can be anything convertible using org.gradle.api.Project#file.this
.Sets the reports directory.
dir
- Directory can be anything convertible using org.gradle.api.Project#file.this
.Sets the source directory.
dir
- Directory can be anything convertible using org.gradle.api.Project#file.this
.Converts a file path to a format suitable for interpretation by Terraform on the appropriate platform.
file
- Object that can be converted using project.file
.The display name is the string representation of the source set.
Sets Terraform variables that are applicable to this source set.
cfg
- Closure that configures a VariablesSpec.Sets Terraform variables that are applicable to this source set.
cfg
- Configurating action.Groovy Documentation