List of usage examples for com.amazonaws.services.devicefarm.model ListProjectsResult getProjects
public java.util.List<Project> getProjects()
Information about the projects.
From source file:org.jenkinsci.plugins.awsdevicefarm.AWSDeviceFarm.java
License:Open Source License
/** * Get all Device Farm projects./*w w w . j a v a 2s . com*/ * * @return A List of the Device Farm projects. */ public List<Project> getProjects() { ListProjectsResult result = api.listProjects(new ListProjectsRequest()); if (result == null) { return new ArrayList<Project>(); } else { return result.getProjects(); } }