com.atlassian.jira.rest.client.domain
Class Project
java.lang.Object
com.atlassian.jira.rest.client.domain.BasicProject
com.atlassian.jira.rest.client.domain.Project
- All Implemented Interfaces:
- AddressableEntity, NamedEntity
public class Project
- extends BasicProject
Complete information about single JIRA project.
Many REST resources instead include just @{}BasicProject
- Since:
- v0.1
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Project
public Project(java.net.URI self,
java.lang.String key,
java.lang.String name,
java.lang.String description,
BasicUser lead,
java.net.URI uri,
java.util.Collection<Version> versions,
java.util.Collection<BasicComponent> components,
OptionalIterable<IssueType> issueTypes,
java.util.Collection<BasicProjectRole> projectRoles)
getDescription
@Nullable
public java.lang.String getDescription()
- Returns:
- description provided for this project or null if there is no description specific for this project.
getLead
public BasicUser getLead()
- Returns:
- the person who leads this project
getUri
@Nullable
public java.net.URI getUri()
- Returns:
- user-defined URI to a web page for this project, or
null if not defined.
getVersions
public java.lang.Iterable<Version> getVersions()
- Returns:
- versions defined for this project
getComponents
public java.lang.Iterable<BasicComponent> getComponents()
- Returns:
- components defined for this project
getIssueTypes
public OptionalIterable<IssueType> getIssueTypes()
- Getter for issueTypes
- Returns:
- the issueTypes defined for this project
getProjectRoles
public java.lang.Iterable<BasicProjectRole> getProjectRoles()
- Returns:
- basic definition of this project's roles.
getToStringHelper
protected com.google.common.base.Objects.ToStringHelper getToStringHelper()
-
- Overrides:
getToStringHelper in class BasicProject
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class BasicProject
hashCode
public int hashCode()
- Overrides:
hashCode in class BasicProject
Copyright © 2012 Atlassian Pty Ltd. All Rights Reserved.