Class GroupKey
java.lang.Object
org.apache.maven.tools.plugin.extractor.GroupKey
- All Implemented Interfaces:
- Comparable<GroupKey>
Group key: defines "grouping" for descriptor (based on source of extraction) and rank within
 group.
- Since:
- TBD
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringJava group is handled a bit special: is always first to be scanned.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintCompares by group then by order, with special case ofJAVA_GROUPgroup: First,groupis considered, if equals toJAVA_GROUP, is always first, other groups are in natural order (string) within same named groups, order is defined byorderbooleangetGroup()Returns the group this key belongs to, nevernull.intgetOrder()Returns the order within same group of this key.inthashCode()toString()
- 
Field Details- 
JAVA_GROUPJava group is handled a bit special: is always first to be scanned.- See Also:
 
 
- 
- 
Constructor Details- 
GroupKey
 
- 
- 
Method Details- 
getGroupReturns the group this key belongs to, nevernull.
- 
getOrderReturns the order within same group of this key. Returns int should be used for ordering only.
- 
equals
- 
hashCode
- 
compareToCompares by group then by order, with special case ofJAVA_GROUPgroup:- First, groupis considered, if equals toJAVA_GROUP, is always first, other groups are in natural order (string)
- within same named groups, order is defined by order
 - Specified by:
- compareToin interface- Comparable<GroupKey>
 
- First, 
- 
toString
 
-