org.hudsonci.rest.api.project
Class ProjectsResource
java.lang.Object
org.hudsonci.rest.api.internal.ResourceSupport
org.hudsonci.rest.api.project.ProjectsResource
@Named
public class ProjectsResource
- extends ResourceSupport
- Since:
- 2.1.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectsResource
@Inject
public ProjectsResource(ProjectBuildHelper support,
SecurityService securityService,
ProjectService projectService,
ProjectConverter projectx,
BuildConverter buildx,
PermissionsFactory permissions)
getProjects
public ProjectsDTO getProjects()
copyProject
public ProjectDTO copyProject(String projectName,
String targetProjectName)
throws IOException
- Throws:
IOException
createProject
public ProjectDTO createProject(String projectName,
InputStream configXml)
throws IOException
- Throws:
IOException
getProject
public ProjectDTO getProject(String projectName)
deleteProject
public void deleteProject(String projectName)
throws Exception
- Throws:
Exception
getProjectConfig
public String getProjectConfig(String projectName)
throws IOException
- Throws:
IOException
enableProject
public javax.ws.rs.core.Response enableProject(String projectName,
boolean enable)
scheduleBuild
public javax.ws.rs.core.Response scheduleBuild(String projectName)
getBuilds
public BuildsDTO getBuilds(String projectName)
getPermissions
public PermissionsDTO getPermissions(String projectName)
Copyright © 2004-2011 Hudson. All Rights Reserved.