public void backupConfig() { // It's possible we are asked to backup the halconfig without having loaded it first. boolean backup = useBackup; useBackup = false; getHalconfig(); useBackup = backup; saveConfigTo(halconfigDirectoryStructure.getBackupConfigPath()); }
RelaxedObjectMapper() { super(); this.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); this.configure(DeserializationFeature.FAIL_ON_NULL_CREATOR_PROPERTIES, false); this.setSerializationInclusion(JsonInclude.Include.NON_NULL); } }
StrictObjectMapper() { super(); this.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, true); this.setSerializationInclusion(JsonInclude.Include.NON_NULL); } }
public Path getUserProfilePath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "profiles"); }
public Halconfig getConfig() { return halconfigParser.getHalconfig(); }
public void backupConfig() { // It's possible we are asked to backup the halconfig without having loaded it first. boolean backup = useBackup; useBackup = false; getHalconfig(); useBackup = backup; saveConfigTo(halconfigDirectoryStructure.getBackupConfigPath()); }
public Path getStagingPath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "staging"); }
RelaxedObjectMapper() { super(); this.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); this.configure(DeserializationFeature.FAIL_ON_NULL_CREATOR_PROPERTIES, false); this.setSerializationInclusion(JsonInclude.Include.NON_NULL); } }
StrictObjectMapper() { super(); this.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, true); this.setSerializationInclusion(JsonInclude.Include.NON_NULL); } }
public Halconfig getConfig() { return halconfigParser.getHalconfig(); }
public Path getStagingPath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "staging"); }
public Path getUserServiceSettingsPath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "service-settings"); }
public Path getUserServiceSettingsPath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "service-settings"); }
public Path getLogsPath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "service-logs"); }
public Path getUserProfilePath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "profiles"); }
public Path getHistoryPath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "history"); }
public Path getHistoryPath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "history"); }
public Path getLogsPath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "service-logs"); }
public Path getConfigPath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "config"); }
public Path getConfigPath(String deploymentName) { return ensureRelativeHalDirectory(deploymentName, "config"); }