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

public static enum ResolutionReport.Entry.Type extends Enum<ResolutionReport.Entry.Type>
  • Enum Constant Details

    • FILTERED_BY_RESOLVER_HOOK

      public static final ResolutionReport.Entry.Type FILTERED_BY_RESOLVER_HOOK
      Indicates a resource failed to resolve because a resolver hook filtered it out. The structure of the data is null.
    • MISSING_CAPABILITY

      public static final ResolutionReport.Entry.Type 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 is Requirement, which represents the missing requirement.
    • SINGLETON_SELECTION

      public static final ResolutionReport.Entry.Type 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 is Resource, which represents the singleton with which the resource collided.
    • UNRESOLVED_PROVIDER

      public static final ResolutionReport.Entry.Type 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 is Map<Requirement, Set<Capability>>.
    • USES_CONSTRAINT_VIOLATION

      public static final ResolutionReport.Entry.Type USES_CONSTRAINT_VIOLATION
      Indicates a resource failed to resolve because of a uses constraint violation. The structure of the data is ResolutionException.
  • Method Details

    • values

      public static ResolutionReport.Entry.Type[] 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

      public static ResolutionReport.Entry.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null