Enum Constant and Description |
---|
Deprecated
Should no longer be used, might disappear in the next minor release.
|
Experimental
Intended for new, experimental features where we are 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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null