Enum Class ResolutionReport.Entry.Type
java.lang.Object
java.lang.Enum<ResolutionReport.Entry.Type>
org.eclipse.osgi.report.resolution.ResolutionReport.Entry.Type
- All Implemented Interfaces:
Serializable
,Comparable<ResolutionReport.Entry.Type>
,Constable
- Enclosing interface:
- ResolutionReport.Entry
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates a resource failed to resolve because a resolver hook filtered it out.Indicates a resource failed to resolve because no capabilities matching one of the resource's requirements could not be found.Indicates a resource failed to resolve because (1) it's a singleton, (2) there was at least one collision, and (3) it was not the selected singleton.Indicates a resource failed to resolve because one or more providers of capabilities matching the resource's requirements were not resolved.Indicates a resource failed to resolve because of a uses constraint violation. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResolutionReport.Entry.Type
Returns the enum constant of this class with the specified name.static ResolutionReport.Entry.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILTERED_BY_RESOLVER_HOOK
Indicates a resource failed to resolve because a resolver hook filtered it out. The structure of the data isnull
. -
MISSING_CAPABILITY
Indicates a resource failed to resolve because no capabilities matching one of the resource's requirements could not be found. The structure of the data isRequirement
, which represents the missing requirement. -
SINGLETON_SELECTION
Indicates a resource failed to resolve because (1) it's a singleton, (2) there was at least one collision, and (3) it was not the selected singleton. The structure of the data isResource
, which represents the singleton with which the resource collided. -
UNRESOLVED_PROVIDER
Indicates a resource failed to resolve because one or more providers of capabilities matching the resource's requirements were not resolved. The structure of the data isMap<Requirement, Set<Capability>>
. -
USES_CONSTRAINT_VIOLATION
Indicates a resource failed to resolve because of a uses constraint violation. The structure of the data isResolutionException
.
-
-
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
-