craft_parts.plugins.java_plugin module

Plugin base class and definitions.

class craft_parts.plugins.java_plugin.JavaPlugin(*, properties, part_info)[source]

Bases: Plugin

A base class for java-related plugins.

Provide common methods to deal with the java executable location and symlink creation.

Parameters:
get_build_environment()[source]

Override JAVA_HOME in the build environment.

Return type:

dict[str, str]