com.google.appengine.task.appcfg.MigrateTrafficTask.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-appengine-plugin Show documentation
Show all versions of gradle-appengine-plugin Show documentation
Gradle plugin that provides tasks for uploading, running and managing Google App Engine projects.
The newest version!
package com.google.appengine.task.appcfg
import org.gradle.api.Incubating
/**
* Google App Engine task to migrate traffic to a new module version
*/
@Incubating
class MigrateTrafficTask extends AppConfigTaskTemplate {
static final String COMMAND = 'migrate_traffic'
@Override
String startLogMessage() {
'Starting to activate traffic migration...'
}
@Override
String errorLogMessage() {
'An error occurred activating traffic migration'
}
@Override
String finishLogMessage() {
'Finished activating traffic migration'
}
@Override
List getParams() {
[COMMAND, getWebAppSourceDirectory().canonicalPath]
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy