com.atlassian.jira.bc.project
Class ProjectService.AbstractProjectValidationResult

java.lang.Object
  extended by com.atlassian.jira.bc.ServiceResultImpl
      extended by com.atlassian.jira.bc.project.ProjectService.AbstractProjectValidationResult
All Implemented Interfaces:
ServiceResult
Direct Known Subclasses:
ProjectService.CreateProjectValidationResult, ProjectService.UpdateProjectValidationResult
Enclosing interface:
ProjectService

@PublicApi
public abstract static class ProjectService.AbstractProjectValidationResult
extends ServiceResultImpl


Constructor Summary
ProjectService.AbstractProjectValidationResult(ErrorCollection errorCollection)
           
ProjectService.AbstractProjectValidationResult(ErrorCollection errorCollection, String name, String key, String description, String leadName, String url, Long assigneeType, Long avatarId, boolean keyChanged, ApplicationUser user)
           
 
Method Summary
 Long getAssigneeType()
           
 Long getAvatarId()
           
 String getDescription()
           
 String getKey()
           
 String getLead()
          Deprecated. Use getLeadUsername() instead. Since v6.0.
 String getLeadUsername()
           
 String getName()
           
 String getUrl()
           
 ApplicationUser getUser()
           
 boolean isKeyChanged()
           
 
Methods inherited from class com.atlassian.jira.bc.ServiceResultImpl
getErrorCollection, isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectService.AbstractProjectValidationResult

@Internal
public ProjectService.AbstractProjectValidationResult(ErrorCollection errorCollection)

ProjectService.AbstractProjectValidationResult

@Internal
public ProjectService.AbstractProjectValidationResult(ErrorCollection errorCollection,
                                                               String name,
                                                               String key,
                                                               String description,
                                                               String leadName,
                                                               String url,
                                                               Long assigneeType,
                                                               Long avatarId,
                                                               boolean keyChanged,
                                                               ApplicationUser user)
Method Detail

getName

public String getName()

getKey

public String getKey()

getDescription

public String getDescription()

getLeadUsername

public String getLeadUsername()

getLead

public String getLead()
Deprecated. Use getLeadUsername() instead. Since v6.0.

Returns:
the username of the requested project lead

getUrl

public String getUrl()

getAssigneeType

public Long getAssigneeType()

getAvatarId

public Long getAvatarId()

isKeyChanged

@ExperimentalApi
public boolean isKeyChanged()

getUser

@ExperimentalApi
@Nullable
public ApplicationUser getUser()
Returns:
the user that initiated the action
Since:
v6.1


Copyright © 2002-2014 Atlassian. All Rights Reserved.