Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for getLocations (0.06 sec)

  1. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocationTracker.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.model;
    
    public interface InputLocationTracker {
        InputLocation getLocation(Object field);
    
        /**
         * Gets the parent InputLocation where this InputLocation may have been imported from.
         * Can return {@code null}.
         *
         * @return InputLocation
         * @since 4.0.0
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Feb 06 23:20:42 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

        @Override
        public int getLineNumber() {
            return lineNumber;
        }
    
        @Override
        public int getColumnNumber() {
            return columnNumber;
        }
    
        @Override
        public String getLocation() {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!getSource().isEmpty()) {
                if (!buffer.isEmpty()) {
                    buffer.append(", ");
                }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
            UrlSource source = new UrlSource(txtFile);
            assertEquals(txtFile.toExternalForm(), source.getLocation());
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

        @Test
        void testGetLocation() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsolutePath(), source.getLocation());
        }
    
        @Test
        void testGetFile() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java

         * @param e the exception itself
         */
        public XmlWriterException(String message, Location location, Exception e) {
            super(message, e);
            this.location = location;
        }
    
        public Location getLocation() {
            return location;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java

         * empty string. The intention is to assist users during error reporting.
         *
         * @return A user-friendly hint about the location of the source, never {@code null}.
         */
        String getLocation();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

            @Nonnull
            public InputStream openStream() throws IOException {
                return Files.newInputStream(path);
            }
    
            @Override
            @Nonnull
            public String getLocation() {
                return location;
            }
    
            @Override
            @Nullable
            public Source resolve(@Nonnull String relative) {
                return new PathSource(path.resolve(relative));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         * value is undefined.
         *
         * @return The location of the problem, never {@code null}.
         */
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return The exception that caused this problem or {@code null} if not applicable.
         */
        Exception getException();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         * value is undefined.
         *
         * @return the location of the problem, never {@code null}
         */
        @Nonnull
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return the exception that caused this problem or {@code null} if not applicable
         */
        @Nullable
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         *   <li>Description: {@code <memory>} or {@code <database>}</li>
         * </ul>
         *
         * @return a non-null string describing the source location
         */
        @Nonnull
        String getLocation();
    
        /**
         * Resolves a new source relative to this one.
         * <p>
         * The resolution strategy depends on the source type:
         * <ul>
         *   <li>File sources resolve against their parent directory</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top