Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetDefaultConfig (0.28 sec)

  1. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

        public void test_getDefaultConfig() {
            assertTrue(crawlingConfigHelper.getDefaultConfig(null).isEmpty());
            assertEquals("01T", crawlingConfigHelper.getDefaultConfig(ConfigType.WEB).get().getId());
            assertEquals("11T", crawlingConfigHelper.getDefaultConfig(ConfigType.FILE).get().getId());
            assertEquals("21T", crawlingConfigHelper.getDefaultConfig(ConfigType.DATA).get().getId());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                    }
                } else {
                    urlList.add(failureUrl.getUrl());
                }
            }
            return urlList;
        }
    
        public OptionalEntity<CrawlingConfig> getDefaultConfig(final ConfigType configType) {
            if (configType == null) {
                return OptionalEntity.empty();
            }
    
            final String name = ComponentUtil.getFessConfig().getFormAdminDefaultTemplateName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

            saveToken();
            return asEditHtml().useForm(CreateForm.class, op -> {
                op.setup(form -> {
                    form.initialize();
                    ComponentUtil.getCrawlingConfigHelper().getDefaultConfig(ConfigType.DATA).ifPresent(entity -> {
                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

            return asHtml(path_AdminFileconfig_AdminFileconfigEditJsp).useForm(CreateForm.class, op -> {
                op.setup(form -> {
                    form.initialize();
                    ComponentUtil.getCrawlingConfigHelper().getDefaultConfig(ConfigType.FILE).ifPresent(entity -> {
                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

            saveToken();
            return asEditHtml().useForm(CreateForm.class, op -> {
                op.setup(form -> {
                    form.initialize();
                    ComponentUtil.getCrawlingConfigHelper().getDefaultConfig(ConfigType.WEB).ifPresent(entity -> {
                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top