public class FeatureCheckingOptionsProcessor extends Object implements IOptionsProcessor
IOptionsProcessor checks if the Options object contains
certain features that may not be supported by all interpreters and throws an
exception if a feature is not supported. The supported features are provided
in the constructor.| Constructor and Description |
|---|
FeatureCheckingOptionsProcessor(Feature... supportedFeatures) |
| Modifier and Type | Method and Description |
|---|---|
void |
processOptions(Options options,
OptionsProcessorContext context)
Processes the given
Options. |
public FeatureCheckingOptionsProcessor(Feature... supportedFeatures)
public void processOptions(Options options, OptionsProcessorContext context)
IOptionsProcessorOptions. This method gives the opportunity to
modify an Options object before it is rendered as JSON. This
class is not part of the public API!processOptions in interface IOptionsProcessoroptions - the Options to process or modify.context - the context containing some context variables that may be accessed
and changed by the processor.Copyright © 2016. All rights reserved.