@groovy.util.logging.Slf4j class SnowflakeExtension extends java.lang.Object
The plugin configuration extension that is applied to the Gradle project as 'snowflake'.
| Type | Name and description |
|---|---|
java.lang.String |
artifactIdOptional: specify an artifactId when using the 'maven-publish' plugin. |
java.lang.String |
connectionThe credentials connection to use. |
java.lang.String |
ephemeralNameThe name of the cloned Snowflake database. |
java.lang.String |
groupIdOptional: specify an artifact groupId when using the 'maven-publish' plugin. |
java.lang.Boolean |
keepEphemeralDon't drop the ephemeral Snowflake clone at the end of the build. |
java.lang.String |
publishUrlOptional: specify the URL of stage if it is external. |
java.lang.String |
stageThe Snowflake stage to upload to. |
java.lang.String |
testSuiteName of the functional test suite to use for testing UDFs against Snowflake. |
java.lang.Boolean |
useCustomMavenOptional: do not automatically apply 'maven-publish' and allow the user to apply that plugin in the 'build.gradle' file. |
java.lang.Boolean |
useEphemeralCreate and use an ephemeral Snowflake clone for the entire build. |
| Constructor and description |
|---|
SnowflakeExtension
(org.gradle.api.Project project)Constructor. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
getPublishTask()Return the name of the Maven publication task associated with the external stage. |
|
java.lang.String |
getSnowflakeCloneName()Return the database clone name based on GitHub actions when available. |
|
java.lang.Boolean |
isCI()Informs whether the plugin is running inside a CICD environment. |
|
java.lang.Boolean |
isPR()Informs whether the plugin is running against a pull request. |
|
java.lang.Boolean |
isTag()Informs whether the plugin is running against a tag. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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() |
Optional: specify an artifactId when using the 'maven-publish' plugin.
The credentials connection to use. Default: use the base connection info in credentials config.
The name of the cloned Snowflake database. Default: auto-generated.
The autogenerated value is always prefixed with 'EPHEMERAL_
Optional: specify an artifact groupId when using the 'maven-publish' plugin.
Don't drop the ephemeral Snowflake clone at the end of the build. Default: false
Optional: specify the URL of stage if it is external. The plugin will apply the 'maven-publish' plugin and handle publishing artifacts there.
The Snowflake stage to upload to. Default: 'maven'.
Name of the functional test suite to use for testing UDFs against Snowflake. Default: 'functionalTest'.
Optional: do not automatically apply 'maven-publish' and allow the user to apply that plugin in the 'build.gradle' file.
Create and use an ephemeral Snowflake clone for the entire build. Useful for CI/CD processes. Default: false
Constructor.
Return the name of the Maven publication task associated with the external stage.
Return the database clone name based on GitHub actions when available.
Informs whether the plugin is running inside a CICD environment.
Informs whether the plugin is running against a pull request.
Informs whether the plugin is running against a tag.
Groovy Documentation