com.atlassian.jira.functest.framework.labels
Class Labels
java.lang.Object
com.atlassian.jira.functest.framework.labels.Labels
public class Labels
- extends Object
Class that represents the state of labels - linked, lozenged, editable and the actual labels them selves.
- Since:
- v4.2
Constructor Summary |
Labels(boolean editable,
boolean linked,
boolean lozenges,
Set<String> labelValues)
|
Labels(boolean editable,
boolean linked,
boolean lozenges,
String... labelValues)
|
Labels
public Labels(boolean editable,
boolean linked,
boolean lozenges,
String... labelValues)
Labels
public Labels(boolean editable,
boolean linked,
boolean lozenges,
Set<String> labelValues)
parseLabels
public static Labels parseLabels(net.sourceforge.jwebunit.WebTester tester,
String issueId,
String fieldId)
- Factory method for parsing the current page for the labels and returning the current state.
- Parameters:
tester
- the webtesterissueId
- The id of the issue you want to get the labels forfieldId
- 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
isEditable
public boolean isEditable()
isLinked
public boolean isLinked()
isLozenges
public boolean isLozenges()
getLabelValues
public Set<String> getLabelValues()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2013 Atlassian. All Rights Reserved.