Interface DeploymentExecutionService

    • Method Detail

      • stop

        void stop​(long environmentId)
        Stops the execution of a deployment running on an Environment.
        Parameters:
        environmentId - id of the Environment
      • stopBeforeDeletion

        void stopBeforeDeletion​(long environmentId)
        Stops the execution of a deployment running on an Environment before deleting it.
        Parameters:
        environmentId - id of the Environment
      • stop

        void stop​(@NotNull
                  @NotNull DeploymentResult deploymentResult,
                  Long agentId)
        Stops the execution of a running deployment
        Parameters:
        deploymentResult - of the deployment we want to stop
        agentId - agent on which the deployment is running
      • processDeploymentResult

        void processDeploymentResult​(@NotNull
                                     @NotNull DeploymentContext deploymentContext)
        Process result that has come back from the agent.
        Parameters:
        deploymentContext - from the agent.
      • isEnvironmentBeingDeployedTo

        boolean isEnvironmentBeingDeployedTo​(long environmentId)
        Check if Environment is currently being deployed to
        Parameters:
        environmentId - id of the Environment
        Returns:
        true if
      • terminateDeployment

        void terminateDeployment​(@NotNull
                                 @NotNull DeploymentResultKey resultKey)
        Cleans up deployment result if execution has been terminated abrubtly.
        Parameters:
        resultKey -
      • restoreStateOfResult

        void restoreStateOfResult​(@NotNull
                                  @NotNull DeploymentResult deploymentResult)
        Restores internal state of single deployment result after server restart.
        Parameters:
        deploymentResult - a restored result