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

java.lang.Object
  extended by com.atlassian.jira.rest.client.domain.BasicComponent
      extended by com.atlassian.jira.rest.client.domain.Component
All Implemented Interfaces:
AddressableEntity

public class Component
extends BasicComponent

Project component

Since:
v0.1

Nested Class Summary
static class Component.AssigneeInfo
           
 
Constructor Summary
Component(URI self, String name, String description, BasicUser lead)
           
Component(URI self, String name, String description, BasicUser lead, Component.AssigneeInfo assigneeInfo)
           
 
Method Summary
 boolean equals(Object obj)
           
 Component.AssigneeInfo getAssigneeInfo()
           
 BasicUser getLead()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class com.atlassian.jira.rest.client.domain.BasicComponent
getDescription, getName, getSelf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Component

public Component(URI self,
                 String name,
                 String description,
                 BasicUser lead)

Component

public Component(URI self,
                 String name,
                 String description,
                 BasicUser lead,
                 @Nullable
                 Component.AssigneeInfo assigneeInfo)
Method Detail

getLead

public BasicUser getLead()

getAssigneeInfo

@Nullable
public Component.AssigneeInfo getAssigneeInfo()
Returns:
detailed info about auto-assignee for this project component or null if such information is not available (JIRA prior 4.4)
Since:
client 0.3, server 4.4

toString

public String toString()
Overrides:
toString in class BasicComponent

equals

public boolean equals(Object obj)
Overrides:
equals in class BasicComponent

hashCode

public int hashCode()
Overrides:
hashCode in class BasicComponent


Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.