Interface CloudInstancesProviderExtendedCallback

    • Method Detail

      • processNotReady

        void processNotReady​(@NotNull
                             CloudProfile profile)
        Called if - client is still connecting - client error occoured - image error occoured - instance error occoured
        Parameters:
        profile - profile
      • processClientError

        void processClientError​(@NotNull
                                CloudProfile profile,
                                @NotNull
                                CloudErrorInfo cloudErrorInfo)
        Called if - client error occoured
        Parameters:
        profile - profile
      • processClient

        default void processClient​(@NotNull
                                   CloudProfile profile)
        process client
      • processImageError

        void processImageError​(@NotNull
                               CloudProfile profile,
                               @NotNull
                               CloudImage image)
        Called if - image error occoured
        Parameters:
        profile - profile
        image - errorneous image
      • processInstanceError

        void processInstanceError​(@NotNull
                                  CloudProfile profile,
                                  @NotNull
                                  CloudInstance instance)
        Called if - instance error occoured
        Parameters:
        profile - profile
        instance - errorneous instance
      • processInstanceExpired

        void processInstanceExpired​(@NotNull
                                    CloudProfile profile,
                                    @NotNull
                                    CloudClientEx client,
                                    @NotNull
                                    CloudInstance instance)
        Called if - instance is expired and should be terminated waiting if necessary for the current build to finish
        Parameters:
        profile - profile
        instance - expired instance
        Since:
        10.0
      • processInstanceMaintained

        default void processInstanceMaintained​(@NotNull
                                               CloudProfile profile,
                                               @NotNull
                                               CloudClientEx client,
                                               @NotNull
                                               CloudInstance instance)
        Called if - instance is maintained (should not be terminated)
        Parameters:
        profile - profile
        instance - expired instance
        Since:
        2022.08