Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 590 for session1 (0.13 sec)

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

         * the artifact would eventually be stored.
         *
         * @param session The session to use, must not be {@code null}.
         * @param artifact The artifact for which to determine the path, must not be {@code null}.
         * @return The path, resolved against the local repository's base directory.
         */
        @Nonnull
        Path getPathForLocalArtifact(@Nonnull Session session, @Nonnull LocalRepository local, @Nonnull Artifact artifact);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Dec 08 09:10:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java

            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
            MavenSessionBuilderSupplier builder = new MavenSessionBuilderSupplier();
            session.setDependencyTraverser(builder.getDependencyTraverser());
            session.setDependencyManager(new ClassicDependencyManager()); // Maven 3 behavior
            session.setDependencySelector(builder.getDependencySelector());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

        VersionsMetadataGenerator(RepositorySystemSession session, InstallRequest request) {
            this(session, request.getMetadata());
        }
    
        VersionsMetadataGenerator(RepositorySystemSession session, DeployRequest request) {
            this(session, request.getMetadata());
        }
    
        private VersionsMetadataGenerator(RepositorySystemSession session, Collection<? extends Metadata> metadatas) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            // VersionRangeResult resolveVersionRange( RepositorySystemSession session, VersionRangeRequest request )
            //                throws VersionRangeResolutionException;
    
        }
    
        @Test
        void testResolveVersion() throws Exception {
            // VersionResult resolveVersion( RepositorySystemSession session, VersionRequest request )
            //                throws VersionResolutionException;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployer.java

        /**
         * @param session the repository session
         * @param repository the repository to deploy to
         * @param artifacts the collection of artifacts to deploy
         * @throws ArtifactDeployerException if the deployment failed
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         */
        default void deploy(
                @Nonnull Session session,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

            RepositorySystemSession session = rss(c);
    
            ArtifactRepository repository = repositorySystem.buildArtifactRepository(repo);
    
            if (session != null) {
                repositorySystem.injectMirror(session, Arrays.asList(repository));
                repositorySystem.injectProxy(session, Arrays.asList(repository));
                repositorySystem.injectAuthentication(session, Arrays.asList(repository));
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. docs_src/sql_databases/tutorial002_py39.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/", response_model=HeroPublic)
    def create_hero(hero: HeroCreate, session: Session = Depends(get_session)):
        db_hero = Hero.model_validate(hero)
        session.add(db_hero)
        session.commit()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

            return ArtifactCoordinatesFactoryRequest.builder()
                    .session(nonNull(session, "session"))
                    .coordinateString(nonNull(coordinateString, "coordinateString"))
                    .build();
        }
    
        @Nonnull
        static ArtifactCoordinatesFactoryRequest build(@Nonnull Session session, @Nonnull ArtifactCoordinates coordinates) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                    final Map<String, String[]> resultDocIdsCache = getResultDocIdsCache(session);
                    resultDocIdsCache.put(queryId, docIdList.toArray(new String[docIdList.size()]));
                }
            });
        }
    
        public String[] getResultDocIds(final String queryId) {
            return LaRequestUtil.getOptionalRequest().map(req -> req.getSession(false)).map(session -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. docs_src/sql_databases/tutorial001_py39.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: Session = Depends(get_session)) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top