Class CampaignExecutionDBRepository
java.lang.Object
com.chutneytesting.campaign.infra.CampaignExecutionDBRepository
- All Implemented Interfaces:
CampaignExecutionRepository
@Repository
@Transactional
public class CampaignExecutionDBRepository
extends Object
implements CampaignExecutionRepository
-
Constructor Summary
ConstructorsConstructorDescriptionCampaignExecutionDBRepository(CampaignExecutionJpaRepository campaignExecutionJpaRepository, CampaignJpaRepository campaignJpaRepository, DatabaseExecutionJpaRepository scenarioExecutionJpaRepository, TestCaseRepository testCaseRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoidclearAllExecutionHistory(Long campaignId) currentExecution(Long campaignId) findExecutionHistory(Long campaignId) findLastExecutions(Long numberOfExecution) generateCampaignExecutionId(Long campaignId) getCampaignExecutionReportsById(Long campaignExecId) voidsaveCampaignReport(Long campaignId, CampaignExecutionReport report) voidstartExecution(Long campaignId, CampaignExecutionReport campaignExecutionReport) voidstopExecution(Long campaignId)
-
Constructor Details
-
CampaignExecutionDBRepository
public CampaignExecutionDBRepository(CampaignExecutionJpaRepository campaignExecutionJpaRepository, CampaignJpaRepository campaignJpaRepository, DatabaseExecutionJpaRepository scenarioExecutionJpaRepository, TestCaseRepository testCaseRepository)
-
-
Method Details
-
findExecutionHistory
@Transactional(readOnly=true) public List<CampaignExecutionReport> findExecutionHistory(Long campaignId) -
saveCampaignReport
-
findLastExecutions
@Transactional(readOnly=true) public List<CampaignExecutionReport> findLastExecutions(Long numberOfExecution) -
getCampaignExecutionReportsById
@Transactional(readOnly=true) public CampaignExecutionReport getCampaignExecutionReportsById(Long campaignExecId) -
clearAllExecutionHistory
-
generateCampaignExecutionId
-
currentExecution
- Specified by:
currentExecutionin interfaceCampaignExecutionRepository
-
currentExecutions
- Specified by:
currentExecutionsin interfaceCampaignExecutionRepository
-
startExecution
- Specified by:
startExecutionin interfaceCampaignExecutionRepository
-
stopExecution
- Specified by:
stopExecutionin interfaceCampaignExecutionRepository
-