
backlog4j.api.CountIssue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backlog4j Show documentation
Show all versions of backlog4j Show documentation
A Java library for Backlog API
package backlog4j.api;
import backlog4j.BacklogClient;
import backlog4j.BacklogException;
/**
* @author eguchi
*/
public class CountIssue extends AbstractFindIssueRequest {
private final BacklogClient client;
public CountIssue(BacklogClient client) {
this.client = client;
}
@Override
protected CountIssue getThis() {
return this;
}
private void checkParameters() {
if (getProjectId() == null) {
throw new BacklogException("projectId is required");
}
}
public Integer execute() {
checkParameters();
Integer res = (Integer) client.execute(BACKLOG_COUNT_ISSUE, map);
return res;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy