Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 163 for qualifiers (0.13 seconds)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                if (RELEASE_QUALIFIERS.contains(qualifier)) {
                    return String.valueOf(QUALIFIERS.indexOf(""));
                }
    
                int i = QUALIFIERS.indexOf(qualifier);
    
                // Just returning an Integer with the index here is faster, but requires a lot of if/then/else to check for
                // -1
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/Qualifier.java

    /**
     * Meta-annotation that marks other annotations as qualifier annotations.
     * <p>
     * Qualifiers are used to distinguish between multiple beans of the same type,
     * allowing for more precise control over which implementation should be injected.
     * Custom qualifier annotations should be annotated with {@code @Qualifier}.
     * <p>
     * Example of creating a custom qualifier:
     * <pre>
     * {@literal @}Qualifier
     * {@literal @}Retention(RUNTIME)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java

     * singleton instances to mojo-execution-scoped beans.
     * <p>
     * Key features include:
     * <ul>
     *   <li>Constructor, method, and field injection</li>
     *   <li>Qualifiers for distinguishing between beans of the same type</li>
     *   <li>Multiple scopes (Singleton, Session, and MojoExecution)</li>
     *   <li>Priority-based implementation selection</li>
     *   <li>Type-safe dependency injection</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jan 10 05:49:06 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

        // Maven defined lifecycles
        // =========================
        String CLEAN = "clean";
        String DEFAULT = "default";
        String SITE = "site";
    
        // ======================
        // Phase qualifiers
        // ======================
        String BEFORE = "before:";
        String AFTER = "after:";
        String AT = "at:";
    
        /**
         * Name or identifier of this lifecycle.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

                "0"
            };
    
            checkVersionsArrayEqual(arr);
        }
    
        /**
         * Test <a href="https://issues.apache.org/jira/browse/MNG-6964">MNG-6964</a> edge cases
         * for qualifiers that start with "-0.", which was showing A == C and B == C but A &lt; B.
         */
        @Test
        void testMng6964() {
            String a = "1-0.alpha";
            String b = "1-0.beta";
            String c = "1";
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

         */
        private boolean isVersionBelow(String currentVersion, String minVersion) {
            if (currentVersion == null || minVersion == null) {
                return false;
            }
    
            // Remove any qualifiers like -SNAPSHOT, -alpha, etc. for comparison
            String cleanCurrent = currentVersion.split("-")[0];
            String cleanMin = minVersion.split("-")[0];
    
            try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/QualifiedVersion.java

            return revision;
        }
    
        public boolean hasQualifier() {
            return qualifier != null;
        }
    
        public Qualifier getQualifier() {
            return qualifier;
        }
    
        public boolean isSnapshot() {
            return this.qualifier != null && this.qualifier.level == QualifierLevel.SNAPSHOT;
        }
    
        public QualifiedVersion withoutQualifier() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  8. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/VersionPropertiesLoader.java

                );
            }
            String qualifier = providers.systemProperty("build.version_qualifier")
                    .orElse("")
                    .forUseAtConfigurationTime()
                    .get();
            if (qualifier.isEmpty() == false) {
                if (qualifier.matches("(alpha|beta|rc)\\d+") == false) {
                    throw new IllegalStateException("Invalid qualifier: " + qualifier);
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Aug 09 07:39:30 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                    if (buildNumber == null) {
                        qualifier = part2;
                    }
                } else {
                    qualifier = part2;
                }
            }
    
            if ((!part1.contains(".")) && !part1.startsWith("0")) {
                majorVersion = tryParseInt(part1);
                if (majorVersion == null) {
                    // qualifier is the whole version, including "-"
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

            }
    
            /**
             * Gets the name ID name qualifier.
             * @return The name ID name qualifier.
             */
            public String getNameidNameQualifier() {
                return nameidNameQualifier;
            }
    
            /**
             * Gets the name ID SP name qualifier.
             * @return The name ID SP name qualifier.
             */
            public String getNameidSPNameQualifier() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top