- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for getPolicy (0.15 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()); } catch (Exception e) {
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-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
} private int getPolicy(RepositorySystemSession session, Artifact a, ArtifactDescriptorRequest request) { ArtifactDescriptorPolicy policy = session.getArtifactDescriptorPolicy(); if (policy == null) { return ArtifactDescriptorPolicy.STRICT; } return policy.getPolicy(session, new ArtifactDescriptorPolicyRequest(a, request.getRequestContext()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
return; } Policy oldPolicy = Policy.getPolicy(); SecurityManager oldSecurityManager = System.getSecurityManager(); try { Policy.setPolicy(new PermissivePolicy()); System.setSecurityManager(new SecurityManager()); doTestUnloadable(); } finally { System.setSecurityManager(oldSecurityManager); Policy.setPolicy(oldPolicy); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 13.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
} return Objects.equals(r1.getId(), r2.getId()) && Objects.equals(r1.getUrl(), r2.getUrl()) && policyEquals(r1.getPolicy(false), r2.getPolicy(false)) && policyEquals(r1.getPolicy(true), r2.getPolicy(true)); }
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/artifact/repository/metadata/RepositoryMetadata.java
* * @param repository The repository for which to determine the policy, must not be {@code null}. * @return The policy, never {@code null}. */ ArtifactRepositoryPolicy getPolicy(ArtifactRepository repository);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
Policy.setPolicy(savedPolicy); } } else { Policy savedPolicy = Policy.getPolicy(); AdjustablePolicy policy = new AdjustablePolicy(permissions); Policy.setPolicy(policy); try { r.run(); } finally { policy.addPermission(new SecurityPermission("setPolicy")); Policy.setPolicy(savedPolicy); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
Policy.setPolicy(savedPolicy); } } else { Policy savedPolicy = Policy.getPolicy(); AdjustablePolicy policy = new AdjustablePolicy(permissions); Policy.setPolicy(policy); try { r.run(); } finally { policy.addPermission(new SecurityPermission("setPolicy")); Policy.setPolicy(savedPolicy); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
} for (ArtifactRepository repository : remoteRepositories) { ArtifactRepositoryPolicy policy = metadata.getPolicy(repository); File file = new File(localRepo.getBasedir(), localRepo.pathOfLocalRepositoryMetadata(metadata, repository)); boolean update;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.9K 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-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
} Versioning filteredVersions = versioning.clone(); for (String version : versioning.getVersions()) { if (!remoteRepository .getPolicy(DefaultModelVersionParser.checkSnapshot(version)) .isEnabled()) { filteredVersions.removeVersion(version); } } return filteredVersions; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.2K bytes - Viewed (0)