public class UpgradeTaskHistoryDaoImpl extends Object implements com.atlassian.upgrade.core.dao.UpgradeTaskHistoryDao
Constructor and Description |
---|
UpgradeTaskHistoryDaoImpl(QueryDslAccessor queryDslAccessor) |
Modifier and Type | Method and Description |
---|---|
int |
createUpgradeTaskHistory(com.atlassian.upgrade.core.dao.UpgradeTaskHistory upgradeTaskHistory) |
Collection<com.atlassian.upgrade.core.dao.UpgradeTaskHistory> |
getAllUpgradeTaskHistory(String upgradeFactoryKey) |
int |
getDatabaseBuildNumber(String upgradeFactoryKey) |
Optional<Integer> |
getIdByBuildNumber(String upgradeFactoryKey,
int buildNumber) |
void |
updateStatus(int id,
com.atlassian.upgrade.core.dao.UpgradeTaskHistory.Status status) |
public UpgradeTaskHistoryDaoImpl(QueryDslAccessor queryDslAccessor)
public int createUpgradeTaskHistory(com.atlassian.upgrade.core.dao.UpgradeTaskHistory upgradeTaskHistory)
createUpgradeTaskHistory
in interface com.atlassian.upgrade.core.dao.UpgradeTaskHistoryDao
public void updateStatus(int id, com.atlassian.upgrade.core.dao.UpgradeTaskHistory.Status status)
updateStatus
in interface com.atlassian.upgrade.core.dao.UpgradeTaskHistoryDao
public Optional<Integer> getIdByBuildNumber(String upgradeFactoryKey, int buildNumber)
getIdByBuildNumber
in interface com.atlassian.upgrade.core.dao.UpgradeTaskHistoryDao
public int getDatabaseBuildNumber(String upgradeFactoryKey)
getDatabaseBuildNumber
in interface com.atlassian.upgrade.core.dao.UpgradeTaskHistoryDao
public Collection<com.atlassian.upgrade.core.dao.UpgradeTaskHistory> getAllUpgradeTaskHistory(String upgradeFactoryKey)
getAllUpgradeTaskHistory
in interface com.atlassian.upgrade.core.dao.UpgradeTaskHistoryDao
Copyright © 2002-2022 Atlassian. All Rights Reserved.