Enum ContributorKind

java.lang.Object
java.lang.Enum<ContributorKind>
manifold.api.type.ContributorKind
All Implemented Interfaces:
Serializable, Comparable<ContributorKind>, java.lang.constant.Constable

public enum ContributorKind extends Enum<ContributorKind>
Indicates the involvement of a ITypeManifold toward the completeness of projected source
  • Enum Constant Details

    • Primary

      public static final ContributorKind Primary
      Contributes complete valid source and does not depend on contributions from other manifolds, however other manifolds may augment the primary source.
    • Partial

      public static final ContributorKind Partial
      Cooperates with other manifolds to collectively provide complete valid source.
    • Supplemental

      public static final ContributorKind Supplemental
      Supplements the source produced from a Primary manifold or set of Partial manifolds. Any number of Supplemental manifolds may contribute toward a single source.
    • None

      public static final ContributorKind None
      Does not contribute source.
  • Method Details

    • values

      public static ContributorKind[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ContributorKind valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null