use of com.evolveum.midpoint.xml.ns._public.common.common_3.InternalsConfigurationType in project midpoint by Evolveum.
the class SystemConfigurationTypeUtil method setEnableExperimentalCode.
public static void setEnableExperimentalCode(SystemConfigurationType s, Boolean enableExperimentalCode) {
if (enableExperimentalCode == null) {
if (s.getInternals() != null) {
s.getInternals().setEnableExperimentalCode(null);
s.asPrismContainerValue().findContainer(SystemConfigurationType.F_INTERNALS).normalize();
}
} else {
if (s.getInternals() == null) {
// hopefully prismContext etc is correctly set
s.setInternals(new InternalsConfigurationType());
}
s.getInternals().setEnableExperimentalCode(enableExperimentalCode);
}
}
Aggregations