public class

Labels

extends Object
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.labels.Labels

Class Overview

Class that represents the state of labels - linked, lozenged, editable and the actual labels them selves.

Summary

Public Constructors
Labels(boolean editable, boolean linked, boolean lozenges, String... labelValues)
Labels(boolean editable, boolean linked, boolean lozenges, Set<String> labelValues)
Public Methods
boolean equals(Object o)
Set<String> getLabelValues()
int hashCode()
boolean isEditable()
boolean isLinked()
boolean isLozenges()
static Labels parseLabels(WebTester tester, String issueId, String fieldId)
Factory method for parsing the current page for the labels and returning the current state.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Labels (boolean editable, boolean linked, boolean lozenges, String... labelValues)

public Labels (boolean editable, boolean linked, boolean lozenges, Set<String> labelValues)

Public Methods

public boolean equals (Object o)

public Set<String> getLabelValues ()

public int hashCode ()

public boolean isEditable ()

public boolean isLinked ()

public boolean isLozenges ()

public static Labels parseLabels (WebTester tester, String issueId, String fieldId)

Factory method for parsing the current page for the labels and returning the current state.

Parameters
tester the webtester
issueId The id of the issue you want to get the labels for
fieldId The id of the field you want to get labels for. Use 'labels' for system field.
Returns
  • The labels representing the current state of paly for teh given issue and field

public String toString ()