Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SetPolicy (0.28 sec)

  1. cmd/iam.go

    	}
    
    	return sys.store.ListPolicyDocs(ctx, bucketName)
    }
    
    // SetPolicy - sets a new named policy.
    func (sys *IAMSys) SetPolicy(ctx context.Context, policyName string, p policy.Policy) (time.Time, error) {
    	if !sys.Initialized() {
    		return time.Time{}, errServerNotInitialized
    	}
    
    	updatedAt, err := sys.store.SetPolicy(ctx, policyName, p)
    	if err != nil {
    		return updatedAt, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            return buffer.toString();
        }
    
        public int getNature() {
            return RELEASE;
        }
    
        public ArtifactRepositoryPolicy getPolicy(ArtifactRepository repository) {
            int nature = getNature();
            if ((nature & RepositoryMetadata.RELEASE_OR_SNAPSHOT) == RepositoryMetadata.RELEASE_OR_SNAPSHOT) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. 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)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            // meta-versions like RELEASE and LATEST to resolve, and also to allow retrieval of the range of valid, released
            // artifacts available.
            ArtifactRepositoryPolicy policy = metadata.getPolicy(repository);
    
            if (!policy.isEnabled()) {
                if (getLogger().isDebugEnabled()) {
                    getLogger()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top