Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getNotificationOperationResult (0.42 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationFixture.groovy

                        def result = ${BuildOperationTrace.name}.toSerializableModel(finishedNotification.getNotificationOperationResult())
                        def op = ops.get(finishedNotification.notificationOperationId)
                        op.resultType = finishedNotification.getNotificationOperationResult().getClass().getInterfaces()[0].getName()
                        op.result = result
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 20 11:47:00 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/notify/BuildOperationFinishedNotification.java

        /**
         * A structured object representing the outcome of the operation.
         * Null if the operation failed, or if no result details are produced for the type of operation.
         */
        Object getNotificationOperationResult();
    
        /**
         * The operation failure.
         * Null if the operation was successful.
         */
        Throwable getNotificationOperationFailure();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/BuildOperationNotificationsFixtureTest.groovy

        }
    
        def finishedNotification(Class<SimpleResult> resultClazz) {
            BuildOperationFinishedNotification buildOperationFinishedNotification = Mock()
            1 * buildOperationFinishedNotification.getNotificationOperationResult() >> new Object().withTraits(resultClazz)
            buildOperationFinishedNotification
        }
    
        BuildOperationStartedNotification startedNotification(Class<?> detailsClazz) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationNotificationsFixture.groovy

                    }
    
                    @Override
                    void finished($BuildOperationFinishedNotification.name notification) {
                        verify(notification.getNotificationOperationResult(), 'Result')
                    }
    
                    private void verify(Object obj, String suffix = null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/operations/notify/BuildOperationNotificationBridge.java

            }
    
            @Override
            public Object getNotificationOperationDetails() {
                return details;
            }
    
            @Override
            public Object getNotificationOperationResult() {
                return result;
            }
    
            @Override
            public Throwable getNotificationOperationFailure() {
                return failure;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top