Class ResolvingOptions
- java.lang.Object
-
- org.tensorics.core.resolve.options.ResolvingOptions
-
public final class ResolvingOptions extends java.lang.Object
Utility class which provides factory methods to different processing options.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OptionRegistry<ResolvingOption>
createRegistryWithDefaultsExcept(ResolvingOption... options)
Creates a option-registry which will contain the default options plus the ones given as parameters.static java.util.Collection<ResolvingOption>
defaultOptions()
static ResolvingOption
handleExceptionsInFirstAncestor()
static ResolvingOption
rethrowExceptions()
-
-
-
Method Detail
-
createRegistryWithDefaultsExcept
public static OptionRegistry<ResolvingOption> createRegistryWithDefaultsExcept(ResolvingOption... options)
Creates a option-registry which will contain the default options plus the ones given as parameters.- Parameters:
options
- all the options which should be put into the registry in addition to (or overriding) default options.- Returns:
- a new processing options registry, which can be used by the processor to retrieve the options.
-
rethrowExceptions
public static ResolvingOption rethrowExceptions()
-
handleExceptionsInFirstAncestor
public static ResolvingOption handleExceptionsInFirstAncestor()
-
defaultOptions
public static java.util.Collection<ResolvingOption> defaultOptions()
-
-