Package manifold.api.type
Enum ContributorKind
- java.lang.Object
-
- java.lang.Enum<ContributorKind>
-
- manifold.api.type.ContributorKind
-
- All Implemented Interfaces:
Serializable,Comparable<ContributorKind>
public enum ContributorKind extends Enum<ContributorKind>
Indicates the involvement of aITypeManifoldtoward the completeness of projected source
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NoneDoes not contribute source.PartialCooperates with other manifolds to collectively provide complete valid source.PrimaryContributes complete valid source and does not depend on contributions from other manifolds, however other manifolds may augment the primary source.SupplementalSupplements the source produced from a Primary manifold or set of Partial manifolds.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContributorKindvalueOf(String name)Returns the enum constant of this type with the specified name.static ContributorKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static ContributorKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ContributorKind c : ContributorKind.values()) System.out.println(c);
- 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 nameNullPointerException- if the argument is null
-
-