Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 85 for getResult (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                    Throwable t) {
                // record the error and mark the project as failed
                Clock clock = getClock(mavenProject);
                buildContext.getResult().addException(t);
                buildContext
                        .getResult()
                        .addBuildSummary(new BuildFailure(mavenProject, clock.execTime(), clock.wallTime(), t));
    
                // notify listeners about "soft" project build failures only
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        public boolean isOffline() {
            return request.isOffline();
        }
    
        public MavenProject getTopLevelProject() {
            return topLevelProject;
        }
    
        public MavenExecutionResult getResult() {
            return result;
        }
    
        // Backward compat
    
        /**
         * Returns the plugin context for given key ({@link PluginDescriptor#getPluginLookupKey()} and
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertEquals(NegTokenTarg.UNSPECIFIED_RESULT, nt.getResult(), "new object should have UNSPECIFIED_RESULT");
        }
    
        @Test
        @DisplayName("serialization omits tags when field is null")
        void testSerializationOmittingNullFields() throws IOException {
            NegTokenTarg token = new NegTokenTarg();
            token.setResult(NegTokenTarg.ACCEPT_INCOMPLETE);
            // mechanism, token and mic are left null
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

        }
    
        private static final class ResultMsg extends TestMessage {
            void setResult(int r) {
                this.result = r;
            }
        }
    
        @Test
        void testGetResult() {
            ResultMsg m = new ResultMsg();
            assertNull(m.getResult());
            m.setResult(0xDEAD);
            DcerpcException e = m.getResult();
            assertEquals(0xDEAD, e.getErrorCode());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

                        }
                    }
                } catch (InterruptedException e) {
                    rootSession.getResult().addException(e);
                    break;
                } catch (ExecutionException e) {
                    // TODO MNG-5766 changes likely made this redundant
                    rootSession.getResult().addException(e);
                    break;
                }
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 16 03:42:09 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SpnegoContext.java

                        throw new SmbException("Server chose an unsupported mechanism " + targ.getMechanism());
                    }
                    this.selectedMech = targ.getMechanism();
                    if (targ.getResult() == NegTokenTarg.REQUEST_MIC) {
                        this.requireMic = true;
                    }
                    this.firstResponse = false;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/Files.java

                  public boolean processLine(String line) {
                    result.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
                    return result;
                  }
                });
      }
    
      /**
       * Streams lines from a {@link File}, stopping when our callback returns false, or we have read
       * all of the lines.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

                ReactorContext reactorContext =
                        new ReactorContext(session.getResult(), oldContextClassLoader, reactorBuildStatus);
                executor.execute(session, reactorContext, taskSegments);
    
            } catch (Exception e) {
                session.getResult().addException(e);
            } finally {
                eventCatapult.fire(ExecutionEvent.Type.SessionEnded, session, null);
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                validateOptionalProjects(request, session);
                validateOptionalProfiles(session, request.getProfileActivation());
    
                if (session.getResult().hasExceptions()) {
                    addExceptionToResult(result, session.getResult().getExceptions().get(0));
                    persistResumptionData(result, session);
                    return result;
                } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

            if (resolvedArtifacts instanceof ProjectArtifactsCache.ArtifactsSetWithResult artifactsSetWithResult) {
                return artifactsSetWithResult.getResult();
            } else {
                throw new IllegalStateException();
            }
        }
    
        public Set<Artifact> resolveProjectArtifacts(
                MavenProject project,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
Back to Top