- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for isEnabled (0.06 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
rr.getUrl(), rr.getId(), rr.getPolicy(false).isEnabled(), rr.getPolicy(false).getUpdatePolicy(), rr.getPolicy(true).isEnabled(), rr.getPolicy(true).getUpdatePolicy(), rr.getPolicy(false).getChecksumPolicy());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
private String checksumPolicy; public ArtifactRepositoryPolicy() { this(true, null, null); } public ArtifactRepositoryPolicy(ArtifactRepositoryPolicy policy) { this(policy.isEnabled(), policy.getUpdatePolicy(), policy.getChecksumPolicy()); } public ArtifactRepositoryPolicy(boolean enabled, String updatePolicy, String checksumPolicy) { this.enabled = enabled;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
if (snapshots != null) { sb.append("snapshots: [enabled => ").append(snapshots.isEnabled()); sb.append(", update => ").append(snapshots.getUpdatePolicy()).append("]\n"); } if (releases != null) { sb.append(" releases: [enabled => ").append(releases.isEnabled()); sb.append(", update => ").append(releases.getUpdatePolicy()).append("]\n"); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
void apply(Ansi ansi); } public static boolean isEnabled() { return org.apache.maven.jline.MessageUtils.isColorEnabled() && org.jline.jansi.Ansi.isEnabled(); } public static void setEnabled(final boolean flag) { org.jline.jansi.Ansi.setEnabled(flag); } public static Ansi ansi() { if (isEnabled()) { return new Ansi(); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 23.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
private static boolean policyEquals(RepositoryPolicy p1, RepositoryPolicy p2) { if (p1 == p2) { return true; } // update policy doesn't affect contents return p1.isEnabled() == p2.isEnabled() && Objects.equals(p1.getChecksumPolicy(), p2.getChecksumPolicy()); } private static boolean repositoryEquals(RemoteRepository r1, RemoteRepository r2) { if (r1 == r2) {
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-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
File file = artifact.getFile(); ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases(); if (!policy.isEnabled()) { if (getLogger().isDebugEnabled()) { getLogger() .debug("Skipping update check for " + artifact + " (" + file + ") from " + repository.getId()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
String updates = RepositoryPolicy.UPDATE_POLICY_DAILY; if (policy != null) { enabled = policy.isEnabled(); if (policy.getUpdatePolicy() != null) { updates = policy.getUpdatePolicy(); } if (policy.getChecksumPolicy() != null) {
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/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
} private static boolean repositoryPolicyEquals(ArtifactRepositoryPolicy p1, ArtifactRepositoryPolicy p2) { if (p1 == p2) { return true; } return p1.isEnabled() == p2.isEnabled() && Objects.equals(p1.getUpdatePolicy(), p2.getUpdatePolicy()); } private static boolean repositoriesEquals(List<ArtifactRepository> r1, List<ArtifactRepository> r2) { if (r1.size() != r2.size()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
if (snapshots != null) { sb.append(LS).append("snapshots: [enabled => ").append(snapshots.isEnabled()); sb.append(", update => ").append(snapshots.getUpdatePolicy()).append(']'); } if (releases != null) { sb.append(LS).append("releases: [enabled => ").append(releases.isEnabled()); sb.append(", update => ").append(releases.getUpdatePolicy()).append(']'); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0)