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

java.lang.Object
  extended by com.atlassian.jira.rest.client.api.domain.BasicProject
      extended by com.atlassian.jira.rest.client.api.domain.Project
All Implemented Interfaces:
AddressableEntity, ExpandableResource, NamedEntity

public class Project
extends BasicProject
implements ExpandableResource

Complete information about single JIRA project. Many REST resources instead include just @{}BasicProject

Since:
v0.1

Constructor Summary
Project(Iterable<String> expandos, URI self, String key, Long id, 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()
           
 Iterable<String> getExpandos()
           
 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.api.domain.BasicProject
getId, getKey, getName, getSelf, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Project

public Project(Iterable<String> expandos,
               URI self,
               String key,
               Long id,
               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.

getExpandos

public Iterable<String> getExpandos()
Specified by:
getExpandos in interface ExpandableResource

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 © 2014 Atlassian. All Rights Reserved.