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

com.atlassian.bamboo.specs.builders.task.DumpVariablesTask 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.api.builders.task.Task;
import com.atlassian.bamboo.specs.model.task.DumpVariablesTaskProperties;
import org.jetbrains.annotations.NotNull;

/**
 * Represents a task that dumps Bamboo variables to log when task is run on agent.
 */
public class DumpVariablesTask extends Task {
    public DumpVariablesTask() {

    }

    @NotNull
    @Override
    protected DumpVariablesTaskProperties build() {
        return new DumpVariablesTaskProperties(description, taskEnabled, requirements, conditions);
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy