@Override public void validate() throws JPValidationException { if (JPService.testMode()) { setAutoCreateMode(FileHandler.AutoMode.On); setExistenceHandling(FileHandler.ExistenceHandling.Must); } super.validate(); }
@Override public void validate() throws JPValidationException { if (JPService.testMode()) { setAutoCreateMode(FileHandler.AutoMode.On); setExistenceHandling(FileHandler.ExistenceHandling.Must); } super.validate(); }
@Override public void validate() throws JPValidationException { if (JPService.testMode()) { setAutoCreateMode(FileHandler.AutoMode.On); setExistenceHandling(FileHandler.ExistenceHandling.Must); } super.validate(); }
@Override public void validate() throws JPValidationException { if (JPService.testMode()) { setAutoCreateMode(FileHandler.AutoMode.On); setExistenceHandling(FileHandler.ExistenceHandling.Must); } super.validate(); }
@Override public void validate() throws JPValidationException { if (JPService.testMode()) { setAutoCreateMode(FileHandler.AutoMode.On); setExistenceHandling(FileHandler.ExistenceHandling.Must); } super.validate(); }
@Override public void validate() throws JPValidationException { super.validate(); // during tests the registry generation is skipped because the mock registry is handling the db initialization. if (!JPService.testMode()) { try { BCORegistryLoader.prepareRegistry(getValue()); } catch (CouldNotPerformException ex) { throw new JPValidationException(ex); } } }
@Override public void validate() throws JPValidationException { try { if (JPService.getProperty(JPResetCredentials.class).getValue()) { setAutoCreateMode(FileHandler.AutoMode.On); setExistenceHandling(FileHandler.ExistenceHandling.MustBeNew); } } catch (JPServiceException ex) { ExceptionPrinter.printHistory(new CouldNotPerformException("Could not access java property!", ex), logger); } super.validate(); } }