- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getOptional (0.08 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) -
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) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt
@get:Input abstract val baseVersion: Property<String> @get:Input @get:Optional abstract val commitId: Property<String> @get:Input abstract val snapshot: Property<Boolean> @get:Input abstract val promotionBuild: Property<Boolean> @get:Input @get:Optional abstract val buildTimestamp: Property<Date> @get:OutputDirectory
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
public boolean isSelectedVersionKnown() throws OverConstrainedVersionException { return artifact.isSelectedVersionKnown(); } /** {@inheritDoc} */ public void setOptional(boolean optional) { artifact.setOptional(optional); } /** {@inheritDoc} */ public int hashCode() { int result = 17; result = 37 * result + getGroupId().hashCode();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
void setRelease(boolean release); List<ArtifactVersion> getAvailableVersions(); void setAvailableVersions(List<ArtifactVersion> versions); boolean isOptional(); void setOptional(boolean optional); ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException; boolean isSelectedVersionKnown() throws OverConstrainedVersionException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0)