Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 95 for setSession (0.07 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        public PluginDescriptor() {}
    
        public PluginDescriptor(PluginDescriptor original) {
            this.setGroupId(original.getGroupId());
            this.setArtifactId(original.getArtifactId());
            this.setVersion(original.getVersion());
            this.setGoalPrefix(original.getGoalPrefix());
            this.setInheritedByDefault(original.isInheritedByDefault());
            this.setName(original.getName());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

            if (arg instanceof ExecutionEvent) {
                ExecutionEvent ee = (ExecutionEvent) arg;
                InternalMavenSession session =
                        InternalMavenSession.from(ee.getSession().getSession());
                Collection<Listener> listeners = session.getListeners();
                if (!listeners.isEmpty()) {
                    Event event = new DefaultEvent(session, ee);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

        @Inject
        private ArtifactRepositoryFactory artifactRepositoryFactory;
    
        public AuthenticationInfo getAuthenticationInfo(String id) {
            MavenSession session = legacySupport.getSession();
    
            if (session != null && id != null) {
                MavenExecutionRequest request = session.getRequest();
    
                if (request != null) {
                    List<Server> servers = request.getServers();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SessionTest.java

                  SmbTreeHandleInternal th2 = (SmbTreeHandleInternal) ( (SmbFile) f2 ).getTreeHandle();
                  SmbSessionInternal sess1 = th1.getSession().unwrap(SmbSessionInternal.class);
                  SmbSessionInternal sess2 = th2.getSession().unwrap(SmbSessionInternal.class);
                  SmbTransport t1 = sess1.getTransport();
                  SmbTransport t2 = sess2.getTransport() ) {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        }
    
        /** {@inheritDoc} */
        public String getVersion() {
            return artifact.getVersion();
        }
    
        /** {@inheritDoc} */
        public void setVersion(String version) {
            artifact.setVersion(version);
        }
    
        /** {@inheritDoc} */
        public String getScope() {
            return artifact.getScope();
        }
    
        /** {@inheritDoc} */
        public String getType() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        //    public void init( ArtifactMetadata af )
        //    {
        //        setGroupId( af.getGroupId() );
        //        setArtifactId( af.getArtifactId() );
        //        setVersion( af.getVersion() );
        //        setType( af.getType() );
        //        setScope( af.getScope() );
        //        setClassifier( af.getClassifier() );
        //        //setUri( af.getDownloadUrl() );
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            MavenSession session = mock(MavenSession.class);
            when(session.getTopLevelProject()).thenReturn(rootProject);
            when(session.getTopDirectory()).thenReturn(basedir.toPath());
            when(event.getSession()).thenReturn(session);
    
            // execute
            executionEventLogger.projectStarted(event);
    
            // verify
            InOrder inOrder = inOrder(logger);
            inOrder.verify(logger).info("");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

                return transport.getNegotiateResponse().isDFSSupported();
            }
        }
    
    
        /**
         * @return the session this tree is connected in
         */
        public SmbSessionImpl getSession () {
            return this.session.acquire();
        }
    
    
        /**
         * @return the tid
         */
        public int getTid () {
            return this.tid;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

        @Inject
        private Logger logger;
    
        @Inject
        private LegacySupport legacySupport;
    
        private void injectSession(ArtifactResolutionRequest request) {
            MavenSession session = legacySupport.getSession();
    
            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/BaseRequest.java

        private final Session session;
    
        protected BaseRequest(@Nonnull Session session) {
            this.session = nonNull(session, "session cannot be null");
        }
    
        @Nonnull
        public Session getSession() {
            return session;
        }
    
        public static <T> T nonNull(T obj, String message) {
            if (obj == null) {
                throw new IllegalArgumentException(message);
            }
            return obj;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top