Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for parseBoolean (0.09 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            }
    
            String inheritedByDefault = c.getChild("inheritedByDefault").getValue();
    
            if (inheritedByDefault != null) {
                mojo.setInheritedByDefault(Boolean.parseBoolean(inheritedByDefault));
            }
    
            String threadSafe = c.getChild("threadSafe").getValue();
    
            if (threadSafe != null) {
                mojo.setThreadSafe(Boolean.parseBoolean(threadSafe));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

        }
    
        private static boolean doGet(Object val, boolean def) {
            if (val instanceof Boolean) {
                return (Boolean) val;
            } else if (val != null) {
                return Boolean.parseBoolean(val.toString());
            } else {
                return def;
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 11 16:31:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java

                    for (int i = 0; i < parser.getAttributeCount(); i++) {
                        if ("root".equals(parser.getAttributeLocalName(i))) {
                            return Boolean.parseBoolean(parser.getAttributeValue(i));
                        }
                    }
                }
            } catch (IOException | XMLStreamException e) {
                // The root locator can be used very early during the setup of Maven,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

                        e);
            }
        }
    
        private boolean isStrict(Map<String, ?> options) {
            Object value = (options != null) ? options.get(IS_STRICT) : null;
            return value == null || Boolean.parseBoolean(value.toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/FatArtifactTraverser.java

            requireNonNull(dependency, "dependency cannot be null");
            String prop = dependency.getArtifact().getProperty(MavenArtifactProperties.INCLUDES_DEPENDENCIES, "");
            return !Boolean.parseBoolean(prop);
        }
    
        @Override
        public DependencyTraverser deriveChildTraverser(DependencyCollectionContext context) {
            requireNonNull(context, "context cannot be null");
            return this;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

                        e);
            }
        }
    
        private boolean isStrict(Map<String, ?> options) {
            Object value = (options != null) ? options.get(IS_STRICT) : null;
            return value == null || Boolean.parseBoolean(value.toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

                        e);
            }
        }
    
        private boolean isStrict(Map<String, ?> options) {
            Object value = (options != null) ? options.get(IS_STRICT) : null;
            return value == null || Boolean.parseBoolean(value.toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            RepositoryListener repositoryListener = eventSpyDispatcher.chainListener(new LoggingRepositoryListener(logger));
    
            boolean recordReverseTree = Boolean.parseBoolean(
                    mergedProps.getOrDefault(Constants.MAVEN_REPO_LOCAL_RECORD_REVERSE_TREE, Boolean.FALSE.toString()));
            if (recordReverseTree) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

        }
    
        @Override
        public Optional<Boolean> cacheArtifactNotFound() {
            if (commandLine.hasOption(CLIManager.CACHE_ARTIFACT_NOT_FOUND)) {
                return Optional.of(Boolean.parseBoolean(commandLine.getOptionValue(CLIManager.CACHE_ARTIFACT_NOT_FOUND)));
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> strictArtifactDescriptorPolicy() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    null,
                    null,
                    null,
                    Boolean.parseBoolean(artifact.getProperty(MavenArtifactProperties.INCLUDES_DEPENDENCIES, "")),
                    artifact.getProperty(ArtifactProperties.LANGUAGE, null),
                    Boolean.parseBoolean(artifact.getProperty(MavenArtifactProperties.CONSTITUTES_BUILD_PATH, "")));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top