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

com.atlassian.bamboo.specs.builders.task.VcsPushTask Maven / Gradle / Ivy

There is a newer version: 10.1.0
Show newest version
package com.atlassian.bamboo.specs.builders.task;

import com.atlassian.bamboo.specs.model.task.VcsPushTaskProperties;
import org.jetbrains.annotations.NotNull;

/**
 * This task will push commits created locally by other tasks to the remote repository. Only
 * DVCS repositories (which distinguish
 * between local and remote commits) can be selected for this task.
 */
public class VcsPushTask extends BaseVcsTask {
    @NotNull
    @Override
    protected VcsPushTaskProperties build() {
        return new VcsPushTaskProperties(
                description,
                taskEnabled,
                requirements,
                conditions,
                defaultRepository,
                repository,
                workingSubdirectory);
    }

    @Override
    public boolean equals(Object o) {
        if (!(o instanceof VcsPushTask)) {
            return false;
        }
        return super.equals(o);
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy