Enum ManFileExt.OnErrorAction
- java.lang.Object
-
- java.lang.Enum<ManFileExt.OnErrorAction>
-
- manifold.io.extensions.java.io.File.ManFileExt.OnErrorAction
-
- All Implemented Interfaces:
Serializable,Comparable<ManFileExt.OnErrorAction>
- Enclosing class:
- ManFileExt
public static enum ManFileExt.OnErrorAction extends Enum<ManFileExt.OnErrorAction>
Enum that can be used to specify behaviour of the `copyRecursively()` function in exceptional conditions.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ManFileExt.OnErrorActionvalueOf(String name)Returns the enum constant of this type with the specified name.static ManFileExt.OnErrorAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKIP
public static final ManFileExt.OnErrorAction SKIP
Skip this file and go to the next.
-
TERMINATE
public static final ManFileExt.OnErrorAction TERMINATE
Terminate the evaluation of the function.
-
-
Method Detail
-
values
public static ManFileExt.OnErrorAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ManFileExt.OnErrorAction c : ManFileExt.OnErrorAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ManFileExt.OnErrorAction valueOf(String name)
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
-
-