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

com.capitalone.dashboard.api.domain.Defect Maven / Gradle / Ivy

There is a newer version: 3.1.4
Show newest version
package com.capitalone.dashboard.api.domain;

import com.atlassian.jira.rest.client.api.domain.BasicIssue;

import java.net.URI;

/**
 * This class will get the details defect
 */
public class Defect extends BasicIssue {
    private String summary;
    private String myStatus;

    public Defect(String key){
        super(null,key,null);
    }

    public Defect(URI self, String key, Long id, String summary, String myStatus) {
        super(self, key, id);
        this.summary=summary;
        this.myStatus=myStatus;
    }


    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getStatus() {
        return myStatus;
    }

    public void setStatus(String myStatus) {
        this.myStatus = myStatus;
    }

    public Defect cloneDefect(){
        return new Defect(super.getSelf(),super.getKey(),super.getId(),this.summary,this.myStatus);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy