Package com.hello2morrow.sonargraph.api
Enum Class Aggregator
- All Implemented Interfaces:
Serializable
,Comparable<Aggregator>
,Constable
Aggregation levels for dependency aggregators.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAggregate on component level.Aggregate to level of elements (lowest aggregation level).Aggregate to level of fields.Aggregate to level of methods.Aggregate to level of module.Aggregate on module scope logical namespaces.Aggregate to level of named types (including nested types).Aggregate to level of methods and free functions.Aggregate on source file level.Aggregate on system wide logical namespaces.Aggregate to level of top level types.Aggregate to level of types (including anonymous classes in Java). -
Method Summary
Modifier and TypeMethodDescriptionstatic Aggregator
Returns the enum constant of this class with the specified name.static Aggregator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ELEMENT
Aggregate to level of elements (lowest aggregation level). -
TYPE
Aggregate to level of types (including anonymous classes in Java). -
NAMED_TYPE
Aggregate to level of named types (including nested types). -
TOPLEVEL_TYPE
Aggregate to level of top level types. -
METHOD
Aggregate to level of methods. -
ROUTINE
Aggregate to level of methods and free functions. -
FIELD
Aggregate to level of fields. -
SYSTEM_NAMESPACE
Aggregate on system wide logical namespaces. -
MODULE_NAMESPACE
Aggregate on module scope logical namespaces. -
MODULE
Aggregate to level of module. -
SOURCE_FILE
Aggregate on source file level. -
COMPONENT
Aggregate on component level.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-