- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for isOptional (0.14 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
val tag: Long, /** Encode and decode the value once tags are handled. */ private val codec: Codec<T>, /** True if the default value should be used if this value is absent during decoding. */ val isOptional: Boolean = false, /** The value to return if this value is absent. Undefined unless this is optional. */ val defaultValue: T? = null, /** True to set the encoded or decoded value as the type hint for the current SEQUENCE. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
public void setAvailableVersions(List<ArtifactVersion> versions) { artifact.setAvailableVersions(versions); } /** {@inheritDoc} */ public boolean isOptional() { return artifact.isOptional(); } /** {@inheritDoc} */ public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException { return artifact.getSelectedVersion(); }
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-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
* check ut.simple:artifact:1.0 dependencies */ private void checkUtSimpleArtifactDependencies(Dependency dep1, Dependency dep2) { assertEquals("compile", dep1.getScope()); assertFalse(dep1.isOptional()); assertEquals(0, dep1.getExclusions().size()); Artifact depArtifact = dep1.getArtifact(); assertEquals("ut.simple", depArtifact.getGroupId());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java
/** * * @since 4.0.0 */ @Experimental @Immutable public interface DependencyCoordinatesFactoryRequest extends ArtifactCoordinatesFactoryRequest { String getScope(); boolean isOptional(); @Nonnull Collection<Exclusion> getExclusions(); @Nonnull static DependencyCoordinatesFactoryRequest build( @Nonnull Session session, String groupId,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 9.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java
assertFalse(artifact.getArtifactId().equals("t07-d")); System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion() + " Optional=" + (artifact.isOptional() ? "true" : "false")); assertTrue( artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId()); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
return null; } org.apache.maven.artifact.Artifact result = toArtifact(dependency.getArtifact()); result.setScope(dependency.getScope()); result.setOptional(dependency.isOptional()); return result; } public static org.apache.maven.artifact.Artifact toArtifact(Artifact artifact) { if (artifact == null) { return null; }
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-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
&& Objects.equals(a1.getScope(), a2.getScope()) && Objects.equals(a1.getDependencyFilter(), a2.getDependencyFilter()) && a1.isOptional() == a2.isOptional(); } private static int repositoryHashCode(ArtifactRepository repository) { int result = 17; result = 31 * result + (repository.getId() != null ? repository.getId().hashCode() : 0);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11.8K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
range, artifact.getScope(), artifact.getType(), artifact.getClassifier(), artifact.getArtifactHandler(), artifact.isOptional()); clone.setRelease(artifact.isRelease()); clone.setResolvedVersion(artifact.getVersion()); clone.setResolved(artifact.isResolved()); clone.setFile(artifact.getFile());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
boolean isRelease(); 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) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java
Artifact artifact = (Artifact) iter.next(); System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion() + " Optional=" + (artifact.isOptional() ? "true" : "false")); assertTrue( artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId()); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0)