Interface WebhookResponseDao

    • Method Detail

      • findWebhookResponseByPlanResultKey

        @NotNull
        @NotNull List<WebhookResponse> findWebhookResponseByPlanResultKey​(String planResultKey)
        Find short descriptions of webhook responses associated with build key.
        Parameters:
        planResultKey -
        Returns:
        a list of all webhook responses (DTO not full entities) associated with the given plan result key.
      • findWebhookResponseDetailsByPlanResultKey

        @NotNull
        @NotNull List<WebhookResponseDetails> findWebhookResponseDetailsByPlanResultKey​(String planResultKey)
        Find full description of webhook responses associated with plan result key.
        Parameters:
        planResultKey - in format ProjectKey-PlanKey-buildNumber
        Returns:
        a list of all webhook response entities associated with the given plan result key.
      • findWebhookResponseByDeploymentResultId

        @NotNull
        @NotNull List<WebhookResponse> findWebhookResponseByDeploymentResultId​(Long deploymentResultId)
        Find short descriptions of webhook responses associated with deployment result id.
        Parameters:
        deploymentResultId -
        Returns:
        a list of all webhook responses (DTO not full entities) associated with the given deployment result id.
      • findWebhookResponseDetailsByDeploymentId

        @NotNull
        @NotNull List<WebhookResponseDetails> findWebhookResponseDetailsByDeploymentId​(Long deploymentResultId)
        Find full description of webhook responses associated with deployment result id.
        Parameters:
        deploymentResultId -
        Returns:
        a list of all webhook response entities associated with the given deployment result id.
      • getWebhookResponseDetails

        @Nullable
        @Nullable WebhookResponseDetails getWebhookResponseDetails​(Long webhookResponseId)
        Find full description of webhook response associated with webhook response id.
        Parameters:
        webhookResponseId - id of webhook response.
        Returns:
        a webhook response entity associated with the given webhook response id.
      • countWebhookResponsesByDeploymentResultId

        @NotNull
        @NotNull Long countWebhookResponsesByDeploymentResultId​(Long deploymentResultId)
        Count all webhook responses in deployment result.
        Parameters:
        deploymentResultId -
        Returns:
        a number of webhook response entities associated with deployment result id.
      • findWebhookResponseDetailsByPlanKey

        @NotNull
        @NotNull List<WebhookResponseDetails> findWebhookResponseDetailsByPlanKey​(String planKey)
        Find all webhook responses associated with given plan, not taking into account build number.
        Parameters:
        planKey - in format ProjectKey-PlanKey
        Returns:
        a list of webhook response entities associated with given plan.