Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for get_path (0.16 sec)

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

         * Shortcut for {@code getService(ArtifactManager.class).getPath(...)}.
         *
         * @param artifact the artifact for which to get a path
         * @return path associated to the given artifact
         *
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
        @Nonnull
        Optional<Path> getArtifactPath(@Nonnull Artifact artifact);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java

                    for (ArtifactResult result : results) {
                        Artifact artifact = session.getArtifact(result.getArtifact());
                        Path path = result.getArtifact().getPath();
                        artifactManager.setPath(artifact, path);
                        paths.put(artifact, path);
                    }
                }
                return () -> paths;
            } catch (ArtifactResolutionException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactManager.java

         * or {@code Optional.empty()} if no path has been associated.
         */
        @Nonnull
        Optional<Path> getPath(@Nonnull Artifact artifact);
    
        /**
         * Associates the given file path to the artifact.
         */
        void setPath(@Nonnull Artifact artifact, Path path);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/MoreFilesTest.java

                    .build());
        Files.createDirectories(fs.getPath("dir/b/i/j/l"));
        Files.createFile(fs.getPath("dir/a"));
        Files.createFile(fs.getPath("dir/c"));
        Files.createSymbolicLink(fs.getPath("dir/d"), fs.getPath("b/i"));
        Files.createDirectory(fs.getPath("dir/e"));
        Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete"));
        Files.createFile(fs.getPath("dir/b/g"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                        throw new DictionaryException("Failed to update " + dictFile.getPath());
                    }
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to update " + dictFile.getPath(), e);
                }
    
            }).orElse(() -> {
                throw new DictionaryException(dictFile.getPath() + " does not exist.");
            });
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                    indent += "  ";
                }
            } else if (collectStepTrace != null) {
                if (collectStepTrace.getPath().get(0).getArtifact() == null) {
                    return;
                }
                baseName = ArtifactIdUtils.toId(collectStepTrace.getPath().get(0).getArtifact())
                        .replace(":", "_");
                trackingFile = trackingDir.resolve(baseName + ext);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

    /**
     * An XML writer request.
     *
     * @since 4.0.0
     * @param <T> the object type to read
     */
    @Experimental
    public interface XmlWriterRequest<T> {
    
        @Nullable
        Path getPath();
    
        @Nullable
        OutputStream getOutputStream();
    
        @Nullable
        Writer getWriter();
    
        @Nonnull
        T getContent();
    
        static <T> XmlWriterRequestBuilder<T> builder() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

    public class DefaultModelXmlFactory implements ModelXmlFactory {
        @Override
        public Model read(@Nonnull XmlReaderRequest request) throws XmlReaderException {
            nonNull(request, "request");
            Path path = request.getPath();
            URL url = request.getURL();
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (path == null && url == null && reader == null && inputStream == null) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

    public class DefaultModelXmlFactory implements ModelXmlFactory {
        @Override
        public Model read(@Nonnull XmlReaderRequest request) throws XmlReaderException {
            nonNull(request, "request");
            Path path = request.getPath();
            URL url = request.getURL();
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (path == null && url == null && reader == null && inputStream == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                        e);
                throw problems.newModelBuilderException();
            }
    
            if (modelSource.getPath() != null) {
                model = model.withPomFile(modelSource.getPath());
            }
    
            problems.setSource(model);
            modelValidator.validateFileModel(model, request, problems);
            if (hasFatalErrors(problems)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
Back to top