Package chemaxon.standardizer.concurrent
Enum StandardizerRunner.ErrorHandlingPolicy
- java.lang.Object
-
- java.lang.Enum<StandardizerRunner.ErrorHandlingPolicy>
-
- chemaxon.standardizer.concurrent.StandardizerRunner.ErrorHandlingPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<StandardizerRunner.ErrorHandlingPolicy>
- Enclosing class:
- StandardizerRunner
public static enum StandardizerRunner.ErrorHandlingPolicy extends Enum<StandardizerRunner.ErrorHandlingPolicy>
Policy for error handling
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPTY_MOLECULE
In case of standardization error an empty molecule is provided on the outputHALT
Halts standardization process in case of standardization errorORIGINAL_MOLECULE
In case of standardization error the original molecule is provided on the outputSKIP
In case of standardization error the output does not contain the molecule
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StandardizerRunner.ErrorHandlingPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static StandardizerRunner.ErrorHandlingPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HALT
public static final StandardizerRunner.ErrorHandlingPolicy HALT
Halts standardization process in case of standardization error
-
SKIP
public static final StandardizerRunner.ErrorHandlingPolicy SKIP
In case of standardization error the output does not contain the molecule
-
EMPTY_MOLECULE
public static final StandardizerRunner.ErrorHandlingPolicy EMPTY_MOLECULE
In case of standardization error an empty molecule is provided on the output
-
ORIGINAL_MOLECULE
public static final StandardizerRunner.ErrorHandlingPolicy ORIGINAL_MOLECULE
In case of standardization error the original molecule is provided on the output
-
-
Method Detail
-
values
public static StandardizerRunner.ErrorHandlingPolicy[] 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 (StandardizerRunner.ErrorHandlingPolicy c : StandardizerRunner.ErrorHandlingPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StandardizerRunner.ErrorHandlingPolicy 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
-
-