com.atlassian.jira.rest.v2.issue
Class ProjectValidateResource
java.lang.Object
com.atlassian.jira.rest.v2.issue.ProjectValidateResource
public class ProjectValidateResource
- extends Object
- Since:
- 5.0
Method Summary |
javax.ws.rs.core.Response |
getProject(String key)
Validates a project key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOC_EXAMPLE
public static final ErrorCollection DOC_EXAMPLE
ProjectValidateResource
public ProjectValidateResource(ProjectService projectService,
JiraAuthenticationContext authContext)
getProject
public javax.ws.rs.core.Response getProject(String key)
- Validates a project key.
- Parameters:
key
- the project key
- Returns:
- an ErrorCollection containing any errors. If the project key is valid, the ErrorCollection will be empty.
Copyright © 2002-2014 Atlassian. All Rights Reserved.