Utilities for working with backends.
Type Params | Return Type | Name and description |
---|---|---|
<T extends BackendSpec> |
static T |
createBackend(ProjectOperations projectOperations, ObjectFactory objectFactory, TerraformRemoteStateExtension remoteState, java.lang.String name, java.lang.Class<T> backend) Attaches a backend to an instance of TerraformRemoteStateExtension. |
<T extends BackendSpec> |
static T |
createBackend(ProjectOperations projectOperations, ObjectFactory objectFactory, TerraformSourceDirectorySet tsds, java.lang.String name, java.lang.Class<T> backend) Creates an instance of a backend on a TerraformSourceDirectorySet. |
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() |
Attaches a backend to an instance of TerraformRemoteStateExtension.
projectOperations
- ProjectOperations to attach.objectFactory
- ObjectFactory to use.remoteState
- Instance of TerraformRemoteStateExtension.name
- Name of backend.backend
- Class of backend
- Class of backend.Creates an instance of a backend on a TerraformSourceDirectorySet.
projectOperations
- ProjectOperations to attachobjectFactory
- ObjectFactory to use.tsds
- Terraform source directory set.name
- Name of backend.backend
- Implementation class of backend.
- Class of backend.