/** * Applies the values of this POJO to the provided ServerConfiguration Note: Does not set * version, identifier, or location, as those are read-only. * * @param config The configuration to set the values on. */ public void apply(ServerConfiguration config) throws IOException { if (getServiceInformation() != null) { config.setServiceInformation(getServiceInformation()); } if (isRuntimeStatsEnabled() != null) { config.setRuntimeStatsEnabled(isRuntimeStatsEnabled()); } if (getLockProvider() != null) { config.setLockProvider(getLockProvider()); } if (isFullWMS() != null) { config.setFullWMS(isFullWMS()); } if (isWmtsCiteCompliant() != null) { config.setWmtsCiteCompliant(isWmtsCiteCompliant()); } if (getBackendTimeout() != null) { config.setBackendTimeout(getBackendTimeout()); } if (isCacheBypassAllowed() != null) { config.setCacheBypassAllowed(isCacheBypassAllowed()); } }