Class Project
java.lang.Object
com.atlassian.jira.rest.client.api.domain.BasicProject
com.atlassian.jira.rest.client.api.domain.Project
- All Implemented Interfaces:
AddressableEntity,ExpandableResource,NamedEntity
Complete information about single JIRA project.
Many REST resources instead include just @{}BasicProject
- Since:
- v0.1
-
Constructor Summary
ConstructorsConstructorDescriptionProject(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
-
Constructor Details
-
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 Details
-
getDescription
- Returns:
- description provided for this project or null if there is no description specific for this project.
-
getLead
- Returns:
- the person who leads this project
-
getUri
- Returns:
- user-defined URI to a web page for this project, or
nullif not defined.
-
getVersions
- Returns:
- versions defined for this project
-
getComponents
- Returns:
- components defined for this project
-
getIssueTypes
Getter for issueTypes- Returns:
- the issueTypes defined for this project
-
getProjectRoles
- Returns:
- basic definition of this project's roles.
-
getExpandos
- Specified by:
getExpandosin interfaceExpandableResource
-
getToStringHelper
protected com.google.common.base.MoreObjects.ToStringHelper getToStringHelper()- Overrides:
getToStringHelperin classBasicProject
-
equals
- Overrides:
equalsin classBasicProject
-
hashCode
public int hashCode()- Overrides:
hashCodein classBasicProject
-