- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for getOptional (0.11 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java
* is optional or mandatory), and possible exclusions for transitive dependencies. * The {@linkplain #getVersionConstraint() version} and the {@linkplain #getOptional() obligation} * may not be defined precisely. * * @since 4.0.0 */ @Experimental @Immutable public interface DependencyCoordinates extends ArtifactCoordinates { /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL = Collector.of( ToOptionalState::new, ToOptionalState::add, ToOptionalState::combine, ToOptionalState::getOptional, Collector.Characteristics.UNORDERED); /** * A collector that converts a stream of zero or one elements to an {@code Optional}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
&& Objects.equals(d1.getScope(), d2.getScope()) && Objects.equals(d1.getSystemPath(), d2.getSystemPath()) && Objects.equals(d1.getOptional(), d2.getOptional()) && equals(d1.getExclusions(), d2.getExclusions()); } private boolean equals(Collection<Exclusion> ce1, Collection<Exclusion> ce2) { if (ce1.size() == ce2.size()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java
* The value is computed during the dependencies collection phase. * * @return {@code true} if the dependency is optional, or {@code false} if mandatory * @see DependencyCoordinates#getOptional() */ boolean isOptional(); /** * {@return coordinates with the same identifiers as this dependency} */ @Nonnull @Override DependencyCoordinates toCoordinates();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
exclusions.add(convert(exclusion)); } return new Dependency( artifact, dependency.getScope(), dependency.getOptional() != null ? dependency.isOptional() : null, exclusions); } private Exclusion convert(org.apache.maven.model.Exclusion exclusion) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
String scope = dependency.getScope() != null ? dependency.getScope() : ""; return session.requireDependencyScope(scope); } @Override public Boolean getOptional() { return dependency.isOptional(); } @Nonnull @Override public Collection<Exclusion> getExclusions() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
.collect(Collectors.toList()); return new Dependency( artifact, dependency.getScope(), dependency.getOptional() != null ? dependency.isOptional() : null, exclusions); } private static Exclusion toExclusion(org.apache.maven.model.Exclusion exclusion) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
if (request.getValidationLevel() >= ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_2_0) { validateBoolean( prefix, "optional", problems, errOn30, Version.V20, d.getOptional(), d.getManagementKey(), d); if (!management) { validateVersion(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
public boolean isOptional() { return (getOptional() != null) ? Boolean.parseBoolean(getOptional()) : false; } ]]> </code> </codeSegment> <codeSegment> <version>4.0.0/4.0.99</version> <code> <![CDATA[ public void setOptional(boolean optional) { setOptional(String.valueOf(optional)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 09 11:07:31 UTC 2024 - 115.1K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
abstract class BuildTimestampValueSource : ValueSource<String, BuildTimestampValueSource.Parameters>, Describable { interface Parameters : ValueSourceParameters { @get:Optional val buildTimestampFromBuildReceipt: Property<String> @get:Optional val buildTimestampFromGradleProperty: Property<String> val runningOnCi: Property<Boolean> val runningInstallTask: Property<Boolean>
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 3.1K bytes - Viewed (0)