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

com.atlassian.bamboo.specs.builders.task.CleanWorkingDirectoryTask 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.CleanWorkingDirectoryTaskProperties;
import org.jetbrains.annotations.NotNull;

/**
 * Represents a task that cleans build's working directory.
 */
public class CleanWorkingDirectoryTask extends Task {
    @NotNull
    @Override
    protected CleanWorkingDirectoryTaskProperties build() {
        return new CleanWorkingDirectoryTaskProperties(description, taskEnabled, requirements, conditions);
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy