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

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 description, BasicUser lead, URI uri, Collection<Version> versions, Collection<BasicComponent> components)
           
 
Method Summary
 Iterable<BasicComponent> getComponents()
           
 String getDescription()
           
 BasicUser getLead()
           
 URI getUri()
           
 Iterable<Version> getVersions()
           
 
Methods inherited from class com.atlassian.jira.rest.client.domain.BasicProject
equals, getKey, getSelf, hashCode, 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 description,
               BasicUser lead,
               URI uri,
               Collection<Version> versions,
               Collection<BasicComponent> components)
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


Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.