public abstract class SingleParentUsageGroupingRule extends java.lang.Object implements UsageGroupingRule
EMPTY_ARRAY| Constructor and Description |
|---|
SingleParentUsageGroupingRule() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract UsageGroup |
getParentGroupFor(Usage usage,
UsageTarget [] targets) |
java.util.List<UsageGroup> |
getParentGroupsFor(Usage usage,
UsageTarget [] targets)
Return list of nested parent groups for a usage.
|
UsageGroup |
groupUsage(Usage usage)
Deprecated.
override
getParentGroupFor(Usage, UsageTarget[]) instead |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRankprotected abstract UsageGroup getParentGroupFor(Usage usage, UsageTarget [] targets)
public final java.util.List<UsageGroup> getParentGroupsFor(Usage usage, UsageTarget [] targets)
UsageGroupingRuleIf the rule returns at most one parent group extend SingleParentUsageGroupingRule and override
getParentGroupFor instead.
getParentGroupsFor in interface UsageGroupingRule@Deprecated public UsageGroup groupUsage(Usage usage)
getParentGroupFor(Usage, UsageTarget[]) insteadgroupUsage in interface UsageGroupingRule