Package org.apache.maven.shared.utils.io
Enum ScanConductor.ScanAction
- All Implemented Interfaces:
Serializable
,Comparable<ScanConductor.ScanAction>
,java.lang.constant.Constable
- Enclosing interface:
ScanConductor
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAbort the whole scanning process.Abort processing the current directory.Continue the scanning with the next item in the list.This response is only valid forScanConductor.visitDirectory(String, java.io.File)
. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScanConductor.ScanAction
Returns the enum constant of this type with the specified name.static ScanConductor.ScanAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABORT
Abort the whole scanning process. The current file will not be added anymore. -
CONTINUE
Continue the scanning with the next item in the list. -
NO_RECURSE
This response is only valid forScanConductor.visitDirectory(String, java.io.File)
. Do not recurse into the current directory. The current directory will not be added and the processing will be continued with the next item in the list. -
ABORT_DIRECTORY
Abort processing the current directory. The current file will not be added. The processing will continue it's scan in the parent directory if any.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-