Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setEnabled (0.06 sec)

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

            if (checksumPolicy == null) {
                checksumPolicy = DEFAULT_CHECKSUM_POLICY;
            }
            this.checksumPolicy = checksumPolicy;
        }
    
        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }
    
        public void setUpdatePolicy(String updatePolicy) {
            if (updatePolicy != null) {
                this.updatePolicy = updatePolicy;
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            File repoDir = new File(getBasedir(), "src/test/remote-repo").getAbsoluteFile();
    
            RepositoryPolicy policy = new RepositoryPolicy();
            policy.setEnabled(true);
            policy.setChecksumPolicy("ignore");
            policy.setUpdatePolicy("always");
    
            Repository repository = new Repository();
            repository.setId(RepositorySystem.DEFAULT_REMOTE_REPO_ID);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

            org.apache.maven.model.RepositoryPolicy policy = new org.apache.maven.model.RepositoryPolicy();
            policy.setEnabled(profileXmlRepo.isEnabled());
            policy.setUpdatePolicy(profileXmlRepo.getUpdatePolicy());
            policy.setChecksumPolicy(profileXmlRepo.getChecksumPolicy());
            return policy;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                return line.substring(0, commentIndex);
            }
            return line;
        }
    
        public boolean isEnabled() {
            return enabled;
        }
    
        public void setEnabled(final boolean enabled) {
            this.enabled = enabled;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        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 {
                return new NoAnsi();
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            File repoDir = new File(getBasedir(), "src/test/remote-repo").getAbsoluteFile();
    
            RepositoryPolicy policy = new RepositoryPolicy();
            policy.setEnabled(true);
            policy.setChecksumPolicy("ignore");
            policy.setUpdatePolicy("always");
    
            Repository repository = new Repository();
            repository.setId(MavenRepositorySystem.DEFAULT_REMOTE_REPO_ID);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            org.apache.maven.model.RepositoryPolicy modelRepositoryPolicy = new org.apache.maven.model.RepositoryPolicy();
            if (settingsRepositoryPolicy != null) {
                modelRepositoryPolicy.setEnabled(settingsRepositoryPolicy.isEnabled());
                modelRepositoryPolicy.setUpdatePolicy(settingsRepositoryPolicy.getUpdatePolicy());
                modelRepositoryPolicy.setChecksumPolicy(settingsRepositoryPolicy.getChecksumPolicy());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/mdo/maven.mdo

        public boolean isEnabled() {
            return (getEnabled() != null) ? Boolean.parseBoolean(getEnabled()) : true;
        }
    
                ]]>
              </code>
            </codeSegment>
            <codeSegment>
              <version>4.0.0/4.0.99</version>
              <code>
                <![CDATA[
        public void setEnabled(boolean enabled) {
            setEnabled(String.valueOf(enabled));
        }
    
                ]]>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top