public interface TeamCityPluginExtension
| Modifier and Type | Method and Description |
|---|---|
void |
agent(org.gradle.api.Action<AgentPluginConfiguration> configuration)
Configures the agent-side plugin.
|
void |
descriptor(org.gradle.api.Action<?> configuration) |
void |
environments(org.gradle.api.Action<TeamCityEnvironments> configuration)
Configures the TeamCity environments.
|
org.gradle.api.file.CopySpec |
files(org.gradle.api.Action<org.gradle.api.file.CopySpec> configuration) |
AgentPluginConfiguration |
getAgent() |
boolean |
getAllowSnapshotVersions() |
boolean |
getDefaultRepositories() |
TeamCityEnvironments |
getEnvironments() |
ServerPluginConfiguration |
getServer() |
ValidationMode |
getValidateBeanDefinition() |
java.lang.String |
getVersion() |
void |
server(org.gradle.api.Action<ServerPluginConfiguration> configuration)
Configures the server-side plugin.
|
void |
setAllowSnapshotVersions(boolean allowSnapshots)
Allow version to include snapshot versions.
|
void |
setDefaultRepositories(boolean useDefaultRepositories)
Use default repositories to resolve dependencies.
|
void |
setDescriptor(java.lang.Object descriptor) |
void |
setTokens(java.util.Map<java.lang.String,java.lang.Object> tokens) |
void |
setValidateBeanDefinition(java.lang.String mode) |
void |
setValidateBeanDefinition(ValidationMode mode)
Set the validation mode for validating plugin bean definition files
|
void |
setVersion(java.lang.String version)
The version of the TeamCity API.
|
void |
tokens(java.util.Map<java.lang.String,java.lang.Object> tokens) |
void setVersion(java.lang.String version)
version - The API version.java.lang.String getVersion()
void setDefaultRepositories(boolean useDefaultRepositories)
useDefaultRepositories - Configure default repositoriesboolean getDefaultRepositories()
void setAllowSnapshotVersions(boolean allowSnapshots)
allowSnapshots - Allow snapshot versionsboolean getAllowSnapshotVersions()
void setValidateBeanDefinition(ValidationMode mode)
mode - The validation modevoid setValidateBeanDefinition(java.lang.String mode)
ValidationMode getValidateBeanDefinition()
void agent(org.gradle.api.Action<AgentPluginConfiguration> configuration)
The given action is executed to configure the agent-side plugin configuration.
configuration - The action.AgentPluginConfiguration getAgent()
void server(org.gradle.api.Action<ServerPluginConfiguration> configuration)
The given action is executed to configure the server-side plugin configuration.
configuration - The action.ServerPluginConfiguration getServer()
void setDescriptor(java.lang.Object descriptor)
void descriptor(org.gradle.api.Action<?> configuration)
org.gradle.api.file.CopySpec files(org.gradle.api.Action<org.gradle.api.file.CopySpec> configuration)
void setTokens(java.util.Map<java.lang.String,java.lang.Object> tokens)
void tokens(java.util.Map<java.lang.String,java.lang.Object> tokens)
void environments(org.gradle.api.Action<TeamCityEnvironments> configuration)
The given action is executed to configure the environments.
configuration - The action.TeamCityEnvironments getEnvironments()