Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for pathType (0.43 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

                }
            }
            addPathElement(cache.selectPathType(pathTypes, filter, path).orElse(PathType.UNRESOLVED), path);
        }
    
        /**
         * Returns whether the given set of path types contains at least one patch for a module.
         */
        private boolean containsPatches(Set<PathType> types) {
            for (PathType type : types) {
                if (type instanceof JavaPathType.Modular) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * (possibly using heuristic rules), then to add the dependency in only one of the options
         * identified by {@link PathType}.
         *
         * @return file paths to place on the different tool options
         */
        @Nonnull
        Map<PathType, List<Path>> getDispatchedPaths();
    
        /**
         * {@return all dependencies associated to their paths}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.DependencyCoordinate;
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.PathScope;
    import org.apache.maven.api.PathType;
    import org.apache.maven.api.Project;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

     * {@link org.apache.maven.api.services.DependencyResolverResult DependencyResolverResult},
     * {@code List<}{@link java.nio.file.Path Path}{@code >},
     * {@code Map<}{@link org.apache.maven.api.PathType PathType}{@code , List<}{@link java.nio.file.Path Path}{@code >>},
     * or {@code Map<}{@link org.apache.maven.api.Dependency Dependency}{@code , }{@link java.nio.file.Path Path}{@code >}.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolver.java

    import org.apache.maven.api.*;
    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.ArtifactCoordinate;
    import org.apache.maven.api.Dependency;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.PathType;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.services.*;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

                    .resolve(this, project, scope)
                    .getPaths();
        }
    
        @Override
        public Map<PathType, List<Path>> resolveDependencies(
                @Nonnull DependencyCoordinate dependency,
                @Nonnull PathScope scope,
                @Nonnull Collection<PathType> desiredTypes) {
            return getService(DependencyResolver.class)
                    .resolve(DependencyResolverRequest.builder()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @see org.apache.maven.api.services.DependencyResolver#resolve(Session, Project, PathScope)
         */
        @Nonnull
        Map<PathType, List<Path>> resolveDependencies(
                @Nonnull DependencyCoordinate dependencyCoordinate,
                @Nonnull PathScope scope,
                @Nonnull Collection<PathType> desiredTypes);
    
        /**
         * Shortcut for {@code getService(DependencyResolver.class).resolve(...).getDispatchedPaths()}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

    import java.util.zip.ZipEntry;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.api.Dependency;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.PathScope;
    import org.apache.maven.api.PathType;
    import org.apache.maven.api.Project;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.plugin.descriptor.Resolution;
    import org.apache.maven.api.services.DependencyResolver;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/crdclient/client.go

    }
    
    func genPatchBytes(oldRes, modRes runtime.Object, patchType types.PatchType) ([]byte, error) {
    	oldJSON, err := json.Marshal(oldRes)
    	if err != nil {
    		return nil, fmt.Errorf("failed marhsalling original resource: %v", err)
    	}
    	newJSON, err := json.Marshal(modRes)
    	if err != nil {
    		return nil, fmt.Errorf("failed marhsalling modified resource: %v", err)
    	}
    	switch patchType {
    	case types.JSONPatchType:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	List(ctx context.Context, opts metav1.ListOptions) (*v1.ExampleList, error)
    	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
    	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Example, err error)
    	Apply(ctx context.Context, example *crv1.ExampleApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Example, err error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top