public enum NodeKind extends Enum<NodeKind>
| Enum Constant and Description |
|---|
Directory |
Error |
Failure |
File |
Info |
Root |
Warning |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTerminal() |
static NodeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeKind Root
public static final NodeKind File
public static final NodeKind Directory
public static final NodeKind Info
public static final NodeKind Warning
public static final NodeKind Error
public static final NodeKind Failure
public static NodeKind[] values()
for (NodeKind c : NodeKind.values()) System.out.println(c);
public static NodeKind 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 nullpublic boolean isTerminal()
Copyright © 2022. All rights reserved.