com.atlassian.jira.rest.v2.issue
Class ProjectValidateResource

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.ProjectValidateResource

public class ProjectValidateResource
extends Object

Since:
5.0

Field Summary
static ErrorCollection DOC_EXAMPLE
           
 
Constructor Summary
ProjectValidateResource(ProjectService projectService, JiraAuthenticationContext authContext)
           
 
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
 

Field Detail

DOC_EXAMPLE

public static final ErrorCollection DOC_EXAMPLE
Constructor Detail

ProjectValidateResource

public ProjectValidateResource(ProjectService projectService,
                               JiraAuthenticationContext authContext)
Method Detail

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.