Interface CloudInstancesProviderCallback

    • Method Detail

      • processInstance

        boolean processInstance​(@NotNull
                                CloudProfile profile,
                                @NotNull
                                CloudInstance instance)
        Processes instance and indicates whether to process next allocated instance
        Parameters:
        profile - profile
        instance - instance
        Returns:
        true to continue iteration and false otherwise
      • processImage

        default boolean processImage​(@NotNull
                                     CloudProfile profile,
                                     @NotNull
                                     CloudImage image)
        Indicates whether to process this particular image. Unlike processInstance(CloudProfile, CloudInstance) returning false will skip just this image and continue further processing
        Parameters:
        profile -
        image -
        Returns:
        true to process this image