Class DBCloudStateManagerImpl

    • Constructor Detail

      • DBCloudStateManagerImpl

        public DBCloudStateManagerImpl​(SQLRunnerEx sql)
    • Method Detail

      • forProfile

        public jetbrains.buildServer.clouds.server.impl.DBCloudStateManagerImpl.CloudStartedInstanceTable forProfile​(@NotNull
                                                                                                                     CloudProfile profile)
        Description copied from interface: CloudStateManager
        Creates cloud-specific storage handle
        Specified by:
        forProfile in interface CloudStateManager
        Parameters:
        profile - profile
        Returns:
        storage handle
      • isImageWithAgent

        public boolean isImageWithAgent​(@NotNull
                                        CloudProfile profile,
                                        @NotNull
                                        CloudImage image)
        Description copied from interface: CloudStateManager
        Checks if the image is configured to start agent. If unknown - true is returned
        Specified by:
        isImageWithAgent in interface CloudStateManager
        Parameters:
        profile - profile
        image - image
        Returns:
        true is this image may contain agent, false if it is definitly broken
      • markImageWithoutAgent

        public void markImageWithoutAgent​(@NotNull
                                          CloudProfile profile,
                                          @NotNull
                                          CloudImage image)
        Description copied from interface: CloudStateManager
        Marks that created instance will not able to start build agent. Such instances will be expelled from auto-start candidates.
        Specified by:
        markImageWithoutAgent in interface CloudStateManager
        Parameters:
        profile - profile
        image - image