Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 57 for getSystemProperties (0.2 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            String actualOsName = context.getSystemProperties()
                    .getOrDefault("os.name", Os.OS_NAME)
                    .toLowerCase(Locale.ENGLISH);
            String actualOsArch = context.getSystemProperties()
                    .getOrDefault("os.arch", Os.OS_ARCH)
                    .toLowerCase(Locale.ENGLISH);
            String actualOsVersion = context.getSystemProperties()
                    .getOrDefault("os.version", Os.OS_VERSION)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

            valueSources.add(new MapBasedValueSource(config.getSystemProperties()));
    
            valueSources.add(new AbstractValueSource(false) {
                @Override
                public Object getValue(String expression) {
                    return config.getSystemProperties().getProperty("env." + expression);
                }
            });
    
            valueSources.add(modelValueSource2);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            request.setUserSettingsFile(userSettingsFile);
            request.setGlobalSettingsFile(globalSettingsFile);
            request.setSystemProperties(SystemProperties.getSystemProperties());
            return build(request);
        }
    
        @Override
        public Settings buildSettings(File userSettingsFile, boolean useCachedSettings)
                throws IOException, XmlPullParserException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

         */
        public static List<Map<String, String>> getFessPropItems(final FessConfig fessConfig) {
            final List<Map<String, String>> itemList = new ArrayList<>();
            ComponentUtil.getSystemProperties().entrySet().stream().forEach(e -> {
                final String k = e.getKey().toString();
                final String value;
                if (isMaskedValue(k)) {
                    value = MASKED_VALUE;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

        }
    
        @Test
        public void test_getExcludedUrlList() {
            final AtomicInteger errorCount = new AtomicInteger(0);
            final DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
            final FailureUrlCB cb = new FailureUrlCB();
            ComponentUtil.register(new FailureUrlBhv() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 35.3K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java

            interpolator.addValueSource(new MapBasedValueSource(context.getUserProperties()));
    
            interpolator.addValueSource(new MapBasedValueSource(context.getSystemProperties()));
    
            String absolutePath = interpolator.interpolate(path, "");
    
            return pathTranslator.alignToBaseDirectory(absolutePath, basedir);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

                return false;
            }
    
            String sysValue = context.getUserProperties().get(name);
            if (sysValue == null) {
                sysValue = context.getSystemProperties().get(name);
            }
    
            String propValue = property.getValue();
            if (StringUtils.isNotEmpty(propValue)) {
                boolean reverseValue = false;
                if (propValue.startsWith("!")) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            cli.cli(request);
            executionRequest = cli.populateRequest(request);
            assertNull(executionRequest.getLocalRepositoryPath());
    
            // System-properties override default
            request.getSystemProperties().setProperty(Constants.MAVEN_REPO_LOCAL, "." + File.separatorChar + "custom1");
            executionRequest = cli.populateRequest(request);
            assertNotNull(executionRequest.getLocalRepositoryPath());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                    return asStream(id).contentTypeOctetStream().stream(out -> {
                        try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                            ComponentUtil.getSystemProperties().store(baos, id);
                            try (final InputStream in = new ByteArrayInputStream(baos.toByteArray())) {
                                out.write(in);
                            }
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

                    throwableStr //
            );
            helper.offer(notificationEvent);
        }
    
        private Level getEffectiveMinLevel() {
            try {
                final String levelStr = ComponentUtil.getSystemProperties().getProperty("fess.log.notification.level");
                if (levelStr != null) {
                    return Level.toLevel(levelStr, minLevel);
                }
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top