Interface InternalBuildProgressListener

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BUILD_EXECUTION
      The constant for the build execution operations.
      static java.lang.String PROJECT_CONFIGURATION_EXECUTION
      The constant for the project configuration operations.
      static java.lang.String TASK_EXECUTION
      The constant for the task execution operations.
      static java.lang.String TEST_EXECUTION
      The constant for the test execution operations.
      static java.lang.String TEST_OUTPUT
      The constant for the test output of the task execution operations.
      static java.lang.String TRANSFORM_EXECUTION
      The constant for the transform operations.
      static java.lang.String WORK_ITEM_EXECUTION
      The constant for the work item execution operations.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getSubscribedOperations()
      Returns the type of operations that the listener wants to subscribe to.
      void onEvent​(java.lang.Object event)
      Invoked when a progress event happens in the build being run, and one or more listeners for the given event type have been registered.
    • Field Detail

      • TEST_EXECUTION

        static final java.lang.String TEST_EXECUTION
        The constant for the test execution operations.
        See Also:
        Constant Field Values
      • TASK_EXECUTION

        static final java.lang.String TASK_EXECUTION
        The constant for the task execution operations.
        See Also:
        Constant Field Values
      • BUILD_EXECUTION

        static final java.lang.String BUILD_EXECUTION
        The constant for the build execution operations.
        See Also:
        Constant Field Values
      • WORK_ITEM_EXECUTION

        static final java.lang.String WORK_ITEM_EXECUTION
        The constant for the work item execution operations.
        See Also:
        Constant Field Values
      • PROJECT_CONFIGURATION_EXECUTION

        static final java.lang.String PROJECT_CONFIGURATION_EXECUTION
        The constant for the project configuration operations.
        See Also:
        Constant Field Values
      • TRANSFORM_EXECUTION

        static final java.lang.String TRANSFORM_EXECUTION
        The constant for the transform operations.
        See Also:
        Constant Field Values
      • TEST_OUTPUT

        static final java.lang.String TEST_OUTPUT
        The constant for the test output of the task execution operations.
        See Also:
        Constant Field Values
    • Method Detail

      • onEvent

        void onEvent​(java.lang.Object event)
        Invoked when a progress event happens in the build being run, and one or more listeners for the given event type have been registered. The event types implemented in Gradle 2.4 are: The event types implemented in Gradle 2.5 are:
        Parameters:
        event - The issued progress event
      • getSubscribedOperations

        java.util.List<java.lang.String> getSubscribedOperations()
        Returns the type of operations that the listener wants to subscribe to.
        Returns:
        the type of operations to be notified about