public static enum API.Usage extends Enum<API.Usage>
Enum Constant and Description |
---|
Deprecated
Should no longer be used.
|
Experimental
Intended for new, experimental features where the JUnit team is
looking for feedback.
|
Internal
Must not be used by any code other than JUnit itself.
|
Maintained
Intended for features that will not be changed in a backwards-
incompatible way for at least the next minor release of the current
major version.
|
Stable
Intended for features that will not be changed in a backwards-
incompatible way in the current major version.
|
Modifier and Type | Method and Description |
---|---|
static API.Usage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static API.Usage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final API.Usage Internal
public static final API.Usage Deprecated
public static final API.Usage Experimental
Use with caution. Might be promoted to Maintained
or
Stable
in the future, but might also be removed without
prior notice.
public static final API.Usage Maintained
Deprecated
first.public static final API.Usage Stable
public static API.Usage[] values()
for (API.Usage c : API.Usage.values()) System.out.println(c);
public static API.Usage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null