com.atlassian.jira.rest.client.domain
Class Project

java.lang.Object
  extended by com.atlassian.jira.rest.client.domain.BasicProject
      extended by 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

Constructor Summary
Project(URI self, String key, String name, String description, BasicUser lead, URI uri, Collection<Version> versions, Collection<BasicComponent> components, OptionalIterable<IssueType> issueTypes, Collection<BasicProjectRole> projectRoles)
           
 
Method Summary
 boolean equals(Object o)
           
 Iterable<BasicComponent> getComponents()
           
 String getDescription()
           
 OptionalIterable<IssueType> getIssueTypes()
          Getter for issueTypes
 BasicUser getLead()
           
 Iterable<BasicProjectRole> getProjectRoles()
           
protected  com.google.common.base.Objects.ToStringHelper getToStringHelper()
          
 URI getUri()
           
 Iterable<Version> getVersions()
           
 int hashCode()
           
 
Methods inherited from class com.atlassian.jira.rest.client.domain.BasicProject
getKey, getName, getSelf, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Project

public Project(URI self,
               String key,
               String name,
               String description,
               BasicUser lead,
               URI uri,
               Collection<Version> versions,
               Collection<BasicComponent> components,
               OptionalIterable<IssueType> issueTypes,
               Collection<BasicProjectRole> projectRoles)
Method Detail

getDescription

@Nullable
public 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 URI getUri()
Returns:
user-defined URI to a web page for this project, or null if not defined.

getVersions

public Iterable<Version> getVersions()
Returns:
versions defined for this project

getComponents

public 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 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(Object o)
Overrides:
equals in class BasicProject

hashCode

public int hashCode()
Overrides:
hashCode in class BasicProject


Copyright © 2012 Atlassian Pty Ltd. All Rights Reserved.