public class AnnotatedSelectorLabel extends Object implements SelectorLabel
| Constructor and Description |
|---|
AnnotatedSelectorLabel(SelectorLabel selectorLabel) |
AnnotatedSelectorLabel(SelectorLabel selectorLabel,
String annotation) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SelectorLabel o) |
boolean |
equals(Object obj) |
String |
getAnnotation() |
String |
getLabel() |
int |
hashCode() |
boolean |
hasLabel(String label) |
String |
toString() |
public AnnotatedSelectorLabel(SelectorLabel selectorLabel, String annotation)
public AnnotatedSelectorLabel(SelectorLabel selectorLabel)
public int compareTo(SelectorLabel o)
compareTo in interface Comparable<SelectorLabel>public boolean hasLabel(String label)
hasLabel in interface SelectorLabellabel - The label that should be checked.public String getLabel()
getLabel in interface SelectorLabelpublic String getAnnotation()
Copyright © 2018. All rights reserved.