backlog4j.api.GetProjects 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.Project;
import backlog4j.impl.ProjectImpl;
import backlog4j.util.XmlRpcUtil;
import java.util.List;
/**
* @author eguchi
*/
public class GetProjects implements BacklogCommand> {
private final BacklogClient client;
public GetProjects(BacklogClient client) {
this.client = client;
}
public List execute() {
Object res = client.execute(BACKLOG_GET_PROJECTS);
return XmlRpcUtil.toList(ProjectImpl.class, res);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy