com.atlassian.bamboo.specs.builders.task.CleanWorkingDirectoryTask Maven / Gradle / Ivy
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();
}
}