Blame view

src/main/java/pl/itcrowd/youtrack/api/IssueItemWrapper.java 635 Bytes
l.gladek authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
package pl.itcrowd.youtrack.api;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import pl.itcrowd.youtrack.api.rest.IssueItem;

import java.io.Serializable;

public class IssueItemWrapper implements Serializable {

    private static final Log log = LogFactory.getLog(IssueItemWrapper.class);

    private IssueItem issueItem;

    public IssueItemWrapper(IssueItem issueItem)
    {
        this.issueItem = issueItem;
    }

    public String getIssueId()
    {
        return issueItem.getOption();
    }

    public String getSummary()
    {
        return issueItem.getDescription();
    }
}