Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for JavaPathType (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * @param location identification of a path in the {@code javax.tool} API
         * @return Java path type associated to the given location
         */
        public static Optional<JavaPathType> valueOf(JavaFileManager.Location location) {
            for (JavaPathType type : JavaPathType.values()) {
                if (location.equals(type.location)) {
                    return Optional.of(type);
                }
            }
            return Optional.empty();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 15K bytes
    - Viewed (1)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

        }
    
        /**
         * Tests the formatting of an option without module name.
         */
        @Test
        public void testOption() {
            String[] formatted = JavaPathType.MODULES.option(paths());
            assertEquals(2, formatted.length);
            assertEquals("--module-path", formatted[0]);
            assertEquals(toPlatformSpecific("\"src/foo.java:src/bar.java\""), formatted[1]);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         * and the user may have provided no instruction about which type to use. In such
         * case, the plugin may apply rules for choosing a path. See for example
         * {@link JavaPathType#CLASSES} and {@link JavaPathType#MODULES}.</p>
         */
        @Nonnull
        Set<PathType> getPathTypes();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top