protected static class

AbstractTestIssueNavigatorView.Item

extends Object
java.lang.Object
   ↳ com.atlassian.jira.webtests.AbstractTestIssueNavigatorView.Item

Class Overview

Just a helper bean to keep the data encapsulated for each item

Summary

Protected Constructors
AbstractTestIssueNavigatorView.Item()
Public Methods
void addAttachment(String attachment)
void addComment(AbstractTestIssueNavigatorView.Comment comment)
void addComponent(String component)
void addCustomField(AbstractTestIssueNavigatorView.CustomField customField)
Map getAllAttributeAttributesMap()
Returns a map of attribute key to a Map attName-attValue
List<String> getAttachments()
String getAttribute(String name)
Map<StringString> getAttributeAttributesMap(String attributeName)
Map getAttributeMap()
List<AbstractTestIssueNavigatorView.Comment> getComments()
List<String> getComponents()
AbstractTestIssueNavigatorView.CustomField getCustomFieldByName(String name)
List<AbstractTestIssueNavigatorView.CustomField> getCustomFields()
AbstractTestIssueNavigatorView.IssueLinks getLinks()
void setAttribute(String name, String value)
void setAttribute(String name, String value, Map<StringString> attributes)
void setIssueLinks(AbstractTestIssueNavigatorView.IssueLinks links)
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected AbstractTestIssueNavigatorView.Item ()

Public Methods

public void addAttachment (String attachment)

public void addComment (AbstractTestIssueNavigatorView.Comment comment)

public void addComponent (String component)

public void addCustomField (AbstractTestIssueNavigatorView.CustomField customField)

public Map getAllAttributeAttributesMap ()

Returns a map of attribute key to a Map attName-attValue

Returns
  • all attributes map, never null

public List<String> getAttachments ()

public String getAttribute (String name)

public Map<StringString> getAttributeAttributesMap (String attributeName)

public Map getAttributeMap ()

public List<String> getComponents ()

public AbstractTestIssueNavigatorView.CustomField getCustomFieldByName (String name)

public void setAttribute (String name, String value)

public void setAttribute (String name, String value, Map<StringString> attributes)

public void setIssueLinks (AbstractTestIssueNavigatorView.IssueLinks links)