- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for getLocations (1.76 sec)
-
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java
} public InputSource getSource() { return source; } @Override public InputLocation getLocation(Object key) { return locations != null ? locations.get(key) : null; } public Map<Object, InputLocation> getLocations() { return locations; } /** * Gets the parent InputLocation where this InputLocation may have been imported from.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.1K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
assertEquals(location, source.getLocation()); } @Test void testPathSourceFunctionality() { // Test basic source functionality Path path = Paths.get("/tmp"); Sources.PathSource source = (Sources.PathSource) Sources.fromPath(path); assertEquals(path.normalize(), source.getPath()); assertEquals(path.toString(), source.getLocation());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
assertEquals("", problem.getLocation()); problem = new DefaultProblem(null, null, "SOURCE", -1, -1, null); assertEquals("SOURCE", problem.getLocation()); problem = new DefaultProblem(null, null, null, 42, -1, null); assertEquals("line 42", problem.getLocation()); problem = new DefaultProblem(null, null, null, -1, 127, null);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java
} @Override public String getLocation() { return location; } /** * Gets the content of this source. * * @return The underlying character stream, never {@code null}. */ public String getContent() { return content; } @Override public String toString() { return getLocation(); } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderException.java
* @param e the exception itself */ public XmlReaderException(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) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java
this.importedFrom = null; } /** * Get the path/URL of the POM or {@code null} if unknown. * * @return the location */ public String getLocation() { return this.location; } /** * Get the identifier of the POM in the format {@code <groupId>:<artifactId>:<version>}. * * @return the model id */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 3.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java
@Nullable Reader getReader(); @Nullable Transformer getTransformer(); boolean isStrict(); @Nullable String getModelId(); @Nullable String getLocation(); boolean isAddDefaultEntities(); interface Transformer { /** * Interpolate the value read from the xml document * * @param source The source value
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Aug 29 12:46:27 UTC 2025 - 6.8K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java
} @Test void testGetLocation() { StringSource source = new StringSource("Hello World!"); assertEquals("(memory)", source.getLocation()); source = new StringSource("Hello World!", "LOCATION"); assertEquals("LOCATION", source.getLocation()); } @Test void testGetContent() { StringSource source = new StringSource(null); assertEquals("", source.getContent());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
this.hashCode = Objects.hash(path); } @Override public InputStream getInputStream() throws IOException { return Files.newInputStream(path); } @Override public String getLocation() { return path.toString(); } /** * Gets the file of this source. * * @return The underlying file, never {@code null}. * @deprecated Use {@link #getPath()} instead.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3K bytes - Viewed (0)