java.lang.Object
io.helidon.pico.tools.Options
Options that can be provided via -A (in annotation processing mode), or via system properties or env properties
if running normally.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPre-creates a placeholder for anApplication.static final StringTreat all super types as a contract for a given service type being added.static final StringTag for putting Pico's annotation processing into debug mode.static final StringIdentify invalid usage of themodule-info.javafor appropriate Pico references (the default is to fail).static final StringIdentify whether any unsupported types should trigger annotation processing to keep going (the default is to fail).static final StringIdentify whether any application scopes (from ee) is translated toSingleton.static final StringIdentify the module name being processed or the desired target module name.static final StringIdentify the pico sidecar (module-info.java.pico) module file name or path. -
Method Summary
Modifier and TypeMethodDescriptionThis only supports the subset of options that pico cares about, and should not be generally used for options.static voidinit(ProcessingEnvironment processingEnv) Initialize (applicable for annotation processing only).static booleanisOptionEnabled(String option) Only supports the subset of options that pico cares about, and should not be generally used for options.
-
Field Details
-
TAG_DEBUG
Tag for putting Pico's annotation processing into debug mode.- See Also:
-
TAG_AUTO_ADD_NON_CONTRACT_INTERFACES
Treat all super types as a contract for a given service type being added.- See Also:
-
TAG_APPLICATION_PRE_CREATE
Pre-creates a placeholder for anApplication.- See Also:
-
TAG_MODULE_NAME
Identify the module name being processed or the desired target module name.- See Also:
-
TAG_PICO_MODULE_NAME
Identify the pico sidecar (module-info.java.pico) module file name or path.- See Also:
-
TAG_MAP_APPLICATION_TO_SINGLETON_SCOPE
Identify whether any application scopes (from ee) is translated toSingleton.- See Also:
-
TAG_IGNORE_UNSUPPORTED_ANNOTATIONS
Identify whether any unsupported types should trigger annotation processing to keep going (the default is to fail).- See Also:
-
TAG_IGNORE_MODULE_USAGE
Identify invalid usage of themodule-info.javafor appropriate Pico references (the default is to fail).- See Also:
-
-
Method Details
-
init
Initialize (applicable for annotation processing only).- Parameters:
processingEnv- the processing env
-
isOptionEnabled
Only supports the subset of options that pico cares about, and should not be generally used for options.- Parameters:
option- the key (assumed to be meaningful to this class)- Returns:
- true if the option is enabled
-
getOption
This only supports the subset of options that pico cares about, and should not be generally used for options.- Parameters:
option- the key (assumed to be meaningful to this class)- Returns:
- the option value
-