[Java] Enum FileVisitResult
- groovy.io.FileVisitResult
public enum FileVisitResult extends Enum
Represents special return values for the 'preDir', 'postDir' and 'visit'/supplied Closures used with ResourceGroovyMethods.traverse and related methods to control subsequent traversal behavior.
Enum Constants Summary
Enum constant | 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 |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Enum | name, equals, toString, hashCode, compareTo, compareTo, valueOf, getDeclaringClass, ordinal, wait, wait, wait, getClass, notify, notifyAll |
Enum Constant Detail
public FileVisitResult CONTINUE
Continue processing; the default
public FileVisitResult SKIP_SIBLINGS
Skip processing sibling files/directories within the current directory being processed
public FileVisitResult SKIP_SUBTREE
Do not process the child files/subdirectories within the current directory being processed
public FileVisitResult TERMINATE
Do not process any more files
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/io/FileVisitResult.html