Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getScriptType (0.31 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/ScheduledJob.java

    /**
     * @author FreeGen
     */
    public class ScheduledJob extends BsScheduledJob {
    
        private static final long serialVersionUID = 1L;
    
        @Override
        public String getScriptType() {
            final String st = super.getScriptType();
            if (StringUtil.isBlank(st)) {
                return "groovy";
            }
            return st;
        }
    
        public boolean isLoggingEnabled() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/JobLog.java

        public JobLog() {
        }
    
        public JobLog(final ScheduledJob scheduledJob) {
            this.scheduledJob = scheduledJob;
            setJobName(scheduledJob.getName());
            setScriptType(scheduledJob.getScriptType());
            setScriptData(scheduledJob.getScriptData());
            setStartTime(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
            setLastUpdated(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                jobHelper.unregister(scheduledJob);
                return;
            }
    
            final JobLog jobLog = new JobLog(scheduledJob);
            final String scriptType = scheduledJob.getScriptType();
            final String script = scheduledJob.getScriptData();
    
            final JobExecutor jobExecutor = ComponentUtil.getJobExecutor(scriptType);
            if (jobExecutor == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java

                    paramMap.put(HcHttpClient.PROXY_CREDENTIALS_PROPERTY, new UsernamePasswordCredentials(proxyUsername, proxyPassword));
                }
    
            }
        }
    
        default String getScriptType() {
            final String scriptType = getConfigParameterMap(ConfigName.CONFIG).get(Param.Config.SCRIPT_TYPE);
            if (StringUtil.isNotBlank(scriptType)) {
                return scriptType;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/BsJobLog.java

        }
    
        public void setScriptResult(String value) {
            registerModifiedProperty("scriptResult");
            this.scriptResult = value;
        }
    
        public String getScriptType() {
            checkSpecifiedProperty("scriptType");
            return convertEmptyToNull(scriptType);
        }
    
        public void setScriptType(String value) {
            registerModifiedProperty("scriptType");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            storeData(config, callback, paramMap.newInstance(), configScriptMap, defaultDataMap);
    
        }
    
        protected String getScriptType(final DataStoreParams paramMap) {
            final String value = paramMap.getAsString(SCRIPT_TYPE);
            if (StringUtil.isBlank(value)) {
                return Constants.DEFAULT_SCRIPT;
            }
            return value;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsentity/BsScheduledJob.java

        }
    
        public void setScriptData(String value) {
            registerModifiedProperty("scriptData");
            this.scriptData = value;
        }
    
        public String getScriptType() {
            checkSpecifiedProperty("scriptType");
            return convertEmptyToNull(scriptType);
        }
    
        public void setScriptType(String value) {
            registerModifiedProperty("scriptType");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/ScheduledJobDbm.java

            setupEpg(_epgMap, et -> ((ScheduledJob) et).getScriptData(), (et, vl) -> ((ScheduledJob) et).setScriptData(DfTypeUtil.toString(vl)),
                    "scriptData");
            setupEpg(_epgMap, et -> ((ScheduledJob) et).getScriptType(), (et, vl) -> ((ScheduledJob) et).setScriptType(DfTypeUtil.toString(vl)),
                    "scriptType");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/JobLogDbm.java

            setupEpg(_epgMap, et -> ((JobLog) et).getScriptResult(), (et, vl) -> ((JobLog) et).setScriptResult(DfTypeUtil.toString(vl)),
                    "scriptResult");
            setupEpg(_epgMap, et -> ((JobLog) et).getScriptType(), (et, vl) -> ((JobLog) et).setScriptType(DfTypeUtil.toString(vl)),
                    "scriptType");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            }
            // thumbnail
            putResultDataBody(dataMap, fessConfig.getIndexFieldThumbnail(), responseData.getUrl());
    
            // from config
            final String scriptType = crawlingConfig.getScriptType();
            final Map<String, String> scriptConfigMap = crawlingConfig.getConfigParameterMap(ConfigName.SCRIPT);
            final Map<String, String> metaConfigMap = crawlingConfig.getConfigParameterMap(ConfigName.META);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top