Class ResourceConfigGen
- java.lang.Object
-
- picocli.codegen.aot.graalvm.processor.AbstractGenerator
-
- picocli.codegen.aot.graalvm.processor.ResourceConfigGen
-
- All Implemented Interfaces:
IGenerator
class ResourceConfigGen extends AbstractGenerator
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OPTION_BUNDLES
Name of the processor option that can be used to specify a comma-separated list of additional resource bundles to include in the native image.static java.lang.String
OPTION_DISABLE
Name of the processor option that can be used to disable generation of the resource-config.json file.static java.lang.String
OPTION_RESOURCE_REGEX
Name of the processor option that can be used to specify a comma-separated list of regular expressions pointing to additional resource to include in the native image.-
Fields inherited from class picocli.codegen.aot.graalvm.processor.AbstractGenerator
OPTION_VERBOSE, processingEnv
-
-
Constructor Summary
Constructors Constructor Description ResourceConfigGen(javax.annotation.processing.ProcessingEnvironment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
generateConfig(CommandLine.Model.CommandSpec[] commands)
-
Methods inherited from class picocli.codegen.aot.graalvm.processor.AbstractGenerator
createRelativePath, enabled, fatalError, fileName, generate, generateConfig, logInfo
-
-
-
-
Field Detail
-
OPTION_DISABLE
public static final java.lang.String OPTION_DISABLE
Name of the processor option that can be used to disable generation of the resource-config.json file. The name of this constant is "disable.resource.config".- See Also:
- Constant Field Values
-
OPTION_BUNDLES
public static final java.lang.String OPTION_BUNDLES
Name of the processor option that can be used to specify a comma-separated list of additional resource bundles to include in the native image. The name of this constant is "other.resource.bundles".- See Also:
- Constant Field Values
-
OPTION_RESOURCE_REGEX
public static final java.lang.String OPTION_RESOURCE_REGEX
Name of the processor option that can be used to specify a comma-separated list of regular expressions pointing to additional resource to include in the native image. The name of this constant is "other.resource.patterns".- See Also:
- Constant Field Values
-
-
Method Detail
-
generateConfig
protected java.lang.String generateConfig(CommandLine.Model.CommandSpec[] commands) throws java.lang.Exception
- Specified by:
generateConfig
in classAbstractGenerator
- Throws:
java.lang.Exception
-
-