public class

MockSimpleLinkSection

extends Object
implements SimpleLinkSection
java.lang.Object
   ↳ com.atlassian.jira.plugin.webfragment.model.MockSimpleLinkSection
Known Direct Subclasses

Summary

Fields
protected String iconUrl
protected String id
protected String label
protected Map<StringString> params
protected String styleClass
protected String title
protected Integer weight
Public Constructors
MockSimpleLinkSection(String id)
Public Methods
boolean equals(Object o)
String getIconUrl()
The url for the icon for the section
String getId()
The unique id for the section.
String getLabel()
The label for the section
Map<StringString> getParams()
Get params associated with this section
String getStyleClass()
The style to aply to the section
String getTitle()
The title (tooltip) for the section
Integer getWeight()
The weight for the section
int hashCode()
void setIconUrl(String iconUrl)
void setId(String id)
void setLabel(String label)
void setParams(Map<StringString> params)
void setStyleClass(String styleClass)
void setTitle(String title)
void setWeight(Integer weight)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.webfragment.model.SimpleLinkSection

Fields

protected String iconUrl

protected String id

protected String label

protected Map<StringString> params

protected String styleClass

protected String title

protected Integer weight

Public Constructors

public MockSimpleLinkSection (String id)

Public Methods

public boolean equals (Object o)

public String getIconUrl ()

The url for the icon for the section

Returns
  • The url for the icon for the section

public String getId ()

The unique id for the section. This should not be null.

Returns
  • The unique id for the section.

public String getLabel ()

The label for the section

Returns
  • The label for the section

public Map<StringString> getParams ()

Get params associated with this section

Returns
  • untyped params of this section

public String getStyleClass ()

The style to aply to the section

Returns
  • The style to aply to the section

public String getTitle ()

The title (tooltip) for the section

Returns
  • The title (tooltip) for the section

public Integer getWeight ()

The weight for the section

Returns
  • The weight for the section

public int hashCode ()

public void setIconUrl (String iconUrl)

public void setId (String id)

public void setLabel (String label)

public void setParams (Map<StringString> params)

public void setStyleClass (String styleClass)

public void setTitle (String title)

public void setWeight (Integer weight)

public String toString ()