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

org.jfrog.build.api.IssueTracker Maven / Gradle / Ivy

There is a newer version: 2.41.23
Show newest version
package org.jfrog.build.api;

import java.io.Serializable;
import java.util.Objects;

/**
 * @author Noam Y. Tenne
 */
public class IssueTracker implements Serializable {

    private String name;
    private String version;

    public IssueTracker() {
    }

    public IssueTracker(String name) {
        this(name, null);
    }

    public IssueTracker(String name, String version) {
        this.name = name;
        this.version = version;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof IssueTracker)) {
            return false;
        }

        IssueTracker that = (IssueTracker) o;
        return Objects.equals(name, that.name) && Objects.equals(version, that.version);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy