Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for enabled (0.2 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

            this.enabled = enabled;
        }
    
        public void setUpdatePolicy(String updatePolicy) {
            if (updatePolicy != null) {
                this.updatePolicy = updatePolicy;
            }
        }
    
        public void setChecksumPolicy(String checksumPolicy) {
            if (checksumPolicy != null) {
                this.checksumPolicy = checksumPolicy;
            }
        }
    
        public boolean isEnabled() {
            return enabled;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        }
    
        public ArtifactRepositoryPolicy buildArtifactRepositoryPolicy(RepositoryPolicy policy) {
            boolean enabled = true;
    
            String updatePolicy = null;
    
            String checksumPolicy = null;
    
            if (policy != null) {
                enabled = policy.isEnabled();
    
                if (policy.getUpdatePolicy() != null) {
                    updatePolicy = policy.getUpdatePolicy();
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

                    .enabled(Boolean.toString(settingsPolicy.isEnabled()))
                    .updatePolicy(settingsPolicy.getUpdatePolicy())
                    .checksumPolicy(settingsPolicy.getChecksumPolicy())
                    .location("enabled", toLocation(settingsPolicy.getLocation("enabled")))
                    .location("updatePolicy", toLocation(settingsPolicy.getLocation("updatePolicy")))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

    public class CumulativeScopeArtifactFilter extends AbstractScopeArtifactFilter {
    
        private Set<String> scopes;
    
        /**
         * Create a new filter with the specified scopes and their implied scopes enabled.
         *
         * @param scopes The scopes to enable, along with all implied scopes, may be {@code null}.
         */
        public CumulativeScopeArtifactFilter(Collection<String> scopes) {
            this.scopes = new HashSet<>();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorUtils.java

            boolean enabled = true;
            String checksums = toRepositoryChecksumPolicy(RepositoryPolicy.CHECKSUM_POLICY_WARN); // the default
            String updates = RepositoryPolicy.UPDATE_POLICY_DAILY;
    
            if (policy != null) {
                enabled = policy.isEnabled();
                if (policy.getUpdatePolicy() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultRepositoryFactory.java

                org.apache.maven.api.model.RepositoryPolicy policy) {
            boolean enabled = true;
            String updatePolicy = RepositoryPolicy.UPDATE_POLICY_DAILY;
            String checksumPolicy = RepositoryPolicy.CHECKSUM_POLICY_FAIL;
            if (policy != null) {
                enabled = policy.isEnabled();
                if (policy.getUpdatePolicy() != null) {
                    updatePolicy = policy.getUpdatePolicy();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                        .id("central")
                        .name("Central Repository")
                        .url("https://repo.maven.apache.org/maven2")
                        .snapshots(RepositoryPolicy.newBuilder().enabled(false).build())
                        .build();
                Repository centralWithNoUpdate = central.withReleases(
                        RepositoryPolicy.newBuilder().updatePolicy("never").build());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/settings/SettingsUtilsV4.java

                    .enabled(Boolean.toString(settingsPolicy.isEnabled()))
                    .updatePolicy(settingsPolicy.getUpdatePolicy())
                    .checksumPolicy(settingsPolicy.getChecksumPolicy())
                    .location("enabled", toLocation(settingsPolicy.getLocation("enabled")))
                    .location("updatePolicy", toLocation(settingsPolicy.getLocation("updatePolicy")))
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Feb 15 08:42:00 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  9. 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");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         * The error's stacktrace will be output when this error level is enabled.
         *
         * @param content
         * @param error
         */
        void debug(CharSequence content, Throwable error);
    
        /**
         * Send an exception to the user in the <b>debug</b> error level.<br>
         * The stack trace for this exception will be output when this error level is enabled.
         *
         * @param error
         */
        void debug(Throwable error);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top