Class AgentBuildResultsSummaryHibernateDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate5.support.HibernateDaoSupport
com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
com.atlassian.bamboo.persistence3.BambooHibernateObjectDao<ResultsSummary>
com.atlassian.bamboo.resultsummary.AgentBuildResultsSummaryHibernateDao
- All Implemented Interfaces:
BambooObjectDao<ResultsSummary>
,AgentBuildResultsSummaryDao
,org.springframework.beans.factory.InitializingBean
public class AgentBuildResultsSummaryHibernateDao
extends BambooHibernateObjectDao<ResultsSummary>
implements AgentBuildResultsSummaryDao
-
Field Summary
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
calculateUtilisedAgentTime
(long agentId) Calculates the time spent performing builds of an agent.Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
convertSearchTermToLikeExpression, countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAll
Methods inherited from class com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
getCacheAwareHibernateTemplate
Methods inherited from class org.springframework.orm.hibernate5.support.HibernateDaoSupport
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
Constructor Details
-
AgentBuildResultsSummaryHibernateDao
public AgentBuildResultsSummaryHibernateDao()
-
-
Method Details
-
calculateUtilisedAgentTime
public long calculateUtilisedAgentTime(long agentId) Description copied from interface:AgentBuildResultsSummaryDao
Calculates the time spent performing builds of an agent.- Specified by:
calculateUtilisedAgentTime
in interfaceAgentBuildResultsSummaryDao
- Returns:
-