All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.appengine.task.appcfg.MigrateTrafficTask.groovy Maven / Gradle / Ivy

Go to download

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