diff --git a/crates/stackable-operator/src/role_utils.rs b/crates/stackable-operator/src/role_utils.rs index ffbce666..1ac5d563 100644 --- a/crates/stackable-operator/src/role_utils.rs +++ b/crates/stackable-operator/src/role_utils.rs @@ -180,10 +180,16 @@ pub struct JavaCommonConfig { // TODO: Docs // Use [`JavaCommonConfig::effective_jvm_config`] to retrieve the effective JVM arguments! #[serde(default)] - pub jvm_argument_overrides: BTreeMap, + jvm_argument_overrides: BTreeMap, } impl JavaCommonConfig { + pub fn new(jvm_argument_overrides: BTreeMap) -> Self { + Self { + jvm_argument_overrides, + } + } + /// Returns all arguments that should be passed to the JVM. /// /// Please note that the values of the [`BTreeMap`] are [`Option`]. A value of [`None`]