public enum FileVisitResult extends Enum<FileVisitResult>
DefaultGroovyMethods.traverse(java.io.File, java.util.Map, groovy.lang.Closure)
and related methods to control subsequent traversal behavior.Enum Constant and Description |
---|
CONTINUE
Continue processing; the default
|
SKIP_SIBLINGS
Skip processing sibling files/directories within the current directory being processed
|
SKIP_SUBTREE
Do not process the child files/subdirectories within the current directory being processed
|
TERMINATE
Do not process any more files
|
Modifier and Type | Method and Description |
---|---|
static FileVisitResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileVisitResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileVisitResult CONTINUE
public static final FileVisitResult SKIP_SIBLINGS
public static final FileVisitResult SKIP_SUBTREE
public static final FileVisitResult TERMINATE
public static FileVisitResult[] values()
for (FileVisitResult c : FileVisitResult.values()) System.out.println(c);
public static FileVisitResult 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