Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 95 for setSession (0.08 sec)

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

        @Nonnull
        EventType getType();
    
        /**
         * Gets the session from which this event originates.
         *
         * @return the current session, never {@code null}
         */
        @Nonnull
        Session getSession();
    
        /**
         * Gets the current project (if any).
         *
         * @return the current project or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<Project> getProject();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

            DeployRequest request = new DeployRequest();
    
            request.setTrace(RequestTrace.newChild(null, legacySupport.getSession().getCurrentProject()));
    
            org.eclipse.aether.artifact.Artifact mainArtifact = RepositoryUtils.toArtifact(artifact);
            mainArtifact = mainArtifact.setFile(source);
            request.addArtifact(mainArtifact);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

            this.delegate = delegate;
        }
    
        @Override
        public EventType getType() {
            return EventType.valueOf(delegate.getType().name());
        }
    
        @Override
        public Session getSession() {
            return session;
        }
    
        @Override
        public Optional<Project> getProject() {
            return Optional.ofNullable(session.getProject(delegate.getProject()));
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestMavenWorkspaceReader.java

                    && VERSION.equals(artifact.getVersion())) {
                Model m = new Model();
                m.setArtifactId(ARTIFACT_ID);
                m.setGroupId(GROUP_ID);
                m.setVersion(VERSION);
                Repository repository = new Repository();
                repository.setId(REPO_ID);
                repository.setUrl(REPO_URL);
                repository.setLayout(REPO_LAYOUT);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

         */
        Type getType();
    
        /**
         * Gets the session from which this event originates.
         *
         * @return The current session, never {@code null}.
         */
        MavenSession getSession();
    
        /**
         * Gets the current project (if any).
         *
         * @return The current project or {@code null} if not applicable.
         */
        MavenProject getProject();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

        public HtmlResponse search(final SearchForm form) {
            if (viewHelper.isUseSession()) {
                LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                    final HttpSession session = request.getSession(false);
                    if (session != null && form.num != null) {
                        session.setAttribute(Constants.RESULTS_PER_PAGE, form.num);
                    }
                });
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            ModelSource result = resolveModel(parent.getDelegate(), resolvedParent);
            if (resolvedParent.get() != null) {
                parent.setVersion(resolvedParent.get().getVersion());
            }
            return result;
        }
    
        @Override
        public ModelSource resolveModel(org.apache.maven.model.Dependency dependency) throws UnresolvableModelException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            return Optional.empty();
        }
    
        @Nonnull
        @Override
        public Collection<ProducedArtifact> getAttachedArtifacts(Project project) {
            InternalMavenSession session = ((DefaultProject) project).getSession();
            Collection<ProducedArtifact> attached = map(
                    getMavenProject(project).getAttachedArtifacts(),
                    a -> session.getArtifact(ProducedArtifact.class, RepositoryUtils.toArtifact(a)));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

    /**
     * A request for installing one or more artifacts in the local repository.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactInstallerRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        Collection<ProducedArtifact> getArtifacts();
    
        @Nonnull
        static ArtifactInstallerRequestBuilder builder() {
            return new ArtifactInstallerRequestBuilder();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

            this.session = session;
            this.project = project;
            this.mojoExecution = mojoExecution;
            this.mojo = mojo;
            this.cause = cause;
        }
    
        public MavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public MojoExecution getExecution() {
            return mojoExecution;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top