- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getNature (0.1 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java
} public boolean isSnapshot() { return artifact.isSnapshot(); } public int getNature() { return isSnapshot() ? SNAPSHOT : RELEASE; } public ArtifactRepository getRepository() { return artifact.getRepository(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java
} public boolean isSnapshot() { // Don't consider the artifact's version in here, as this is stored in the directory above that return false; } public int getNature() { if (artifact.getVersion() != null) { return artifact.isSnapshot() ? SNAPSHOT : RELEASE; } VersionRange range = artifact.getVersionRange(); if (range != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSnapshotMetadata.java
return metadata.getArtifactId(); } @Override public String getVersion() { return metadata.getVersion(); } @Override public Nature getNature() { return Nature.SNAPSHOT; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java
* Gets the artifact quality this metadata refers to. One of {@link #RELEASE}, {@link #SNAPSHOT} or * {@link #RELEASE_OR_SNAPSHOT}. * * @return The artifact quality this metadata refers to. */ int getNature(); /** * Gets the policy that applies to this metadata regarding the specified repository. * * @param repository The repository for which to determine the policy, must not be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java
@Override public String getArtifactId() { return ""; } @Override public String getVersion() { return ""; } @Override public Nature getNature() { return Nature.RELEASE_OR_SNAPSHOT; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java
public String getArtifactId() { return artifact.getArtifactId(); } @Override public String getVersion() { return ""; } @Override public Nature getNature() { return artifact.isSnapshot() ? Nature.RELEASE_OR_SNAPSHOT : Nature.RELEASE; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
return metadata.getArtifactId(); } @Override public String getVersion() { return metadata.getVersion(); } @Override public Nature getNature() { return Nature.SNAPSHOT; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0)