public static class AbstractProjectConstantsRenderer.GenericProjectConstantsLabel extends Object implements Comparable<AbstractProjectConstantsRenderer.GenericProjectConstantsLabel>
Constructor and Description |
---|
GenericProjectConstantsLabel(String label) |
GenericProjectConstantsLabel(String label,
boolean valid) |
GenericProjectConstantsLabel(String label,
String browseUrl) |
GenericProjectConstantsLabel(String label,
String browseUrl,
boolean valid) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AbstractProjectConstantsRenderer.GenericProjectConstantsLabel genericProjectConstantsLabel) |
boolean |
equals(Object o) |
String |
getBrowseUrl() |
String |
getLabel() |
int |
hashCode() |
boolean |
isSameAs(Option option) |
boolean |
isValid() |
public GenericProjectConstantsLabel(String label)
label
- the labelpublic GenericProjectConstantsLabel(String label, String browseUrl)
label
- the labelbrowseUrl
- the url linking the label to the browse pagepublic GenericProjectConstantsLabel(String label, boolean valid)
label
- the labelvalid
- whether label is valid for context or notpublic String getLabel()
public String getBrowseUrl()
public boolean isValid()
public boolean isSameAs(Option option)
public int compareTo(AbstractProjectConstantsRenderer.GenericProjectConstantsLabel genericProjectConstantsLabel)
compareTo
in interface Comparable<AbstractProjectConstantsRenderer.GenericProjectConstantsLabel>
Copyright © 2002-2023 Atlassian. All Rights Reserved.