# Uses of Enum Class
jdk.jshell.Snippet.Status

Packages that use Snippet.Status
Package
Description
jdk.jshell
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.

## Uses of Snippet.Status in jdk.jshell

Subclasses with type arguments of type Snippet.Status in jdk.jshell
Modifier and Type
Class
Description
`static enum`
`Snippet.Status`
Describes the current state of a Snippet.
Methods in jdk.jshell that return Snippet.Status
Modifier and Type
Method
Description
`Snippet.Status`
SnippetEvent.`previousStatus()`
The status before the transition.
`Snippet.Status`
JShell.`status(Snippet snippet)`
Return the status of the snippet.
`Snippet.Status`
SnippetEvent.`status()`
The after status.
`static Snippet.Status`
Snippet.Status.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static Snippet.Status[]`
Snippet.Status.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.