Package chemaxon.standardizer.concurrent
Enum Class StandardizerRunner.ErrorHandlingPolicy
java.lang.Object
java.lang.Enum<StandardizerRunner.ErrorHandlingPolicy>
chemaxon.standardizer.concurrent.StandardizerRunner.ErrorHandlingPolicy
- All Implemented Interfaces:
Serializable
,Comparable<StandardizerRunner.ErrorHandlingPolicy>
,java.lang.constant.Constable
- Enclosing class:
- StandardizerRunner
public static enum StandardizerRunner.ErrorHandlingPolicy
extends Enum<StandardizerRunner.ErrorHandlingPolicy>
Policy for error handling
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIn case of standardization error an empty molecule is provided on the outputHalts standardization process in case of standardization errorIn case of standardization error the original molecule is provided on the outputIn case of standardization error the output does not contain the molecule -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HALT
Halts standardization process in case of standardization error -
SKIP
In case of standardization error the output does not contain the molecule -
EMPTY_MOLECULE
In case of standardization error an empty molecule is provided on the output -
ORIGINAL_MOLECULE
In case of standardization error the original molecule is provided on the output
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-