Package chemaxon.sss.search.options
Enum Class HaltOnErrorOption
- All Implemented Interfaces:
chemaxon.sss.search.options.HasOptionString
,Serializable
,Comparable<HaltOnErrorOption>
,java.lang.constant.Constable
@PublicApi
public enum HaltOnErrorOption
extends Enum<HaltOnErrorOption>
implements chemaxon.sss.search.options.HasOptionString
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HaltOnErrorOption
fromString
(String str) Gets the halt on error option value for the string representation.toString()
Returns the string representation.static HaltOnErrorOption
Returns the enum constant of this class with the specified name.static HaltOnErrorOption[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Default error handling. In case of Markush targets the search recovers from errors if possible. In case of other search targets the search stops on first error. -
YES
Stop on any errors during the search. -
NO
Recover from record level errors if possible. In case of general errors: incompatible query, query - search option pair or license error the search is stopped.
-
-
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
-
toString
Returns the string representation.- Overrides:
toString
in classEnum<HaltOnErrorOption>
-
getOptionString
- Specified by:
getOptionString
in interfacechemaxon.sss.search.options.HasOptionString
-
fromString
Gets the halt on error option value for the string representation.- Parameters:
str
- halt on error option string- Returns:
- the halt on error option
-