|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.dao.support.DaoSupport org.springframework.orm.hibernate.support.HibernateDaoSupport com.atlassian.hibernate.HibernateObjectDao com.atlassian.bamboo.persistence.BambooHibernateObjectDao com.atlassian.bamboo.capability.CapabilityHibernateSetDao
public class CapabilityHibernateSetDao
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
CapabilityHibernateSetDao()
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
findUniqueCapabilityKeys()
Finds all the distinct capability keys |
java.util.Collection<java.lang.String> |
getAllSystemKeysByType(java.lang.String type)
Returns a list of Capability Keys that match the given type including those for Elastic images. |
ElasticImageConfiguration |
getElasticImageConfiguration(CapabilitySet capabilitySet)
Finds ElasticImageConfiguration using capability set |
java.lang.Class |
getPersistentClass()
|
PipelineDefinition |
getPipelineDefinition(CapabilitySet capabilitySet)
|
CapabilitySet |
getSharedCapabilitySet()
Accessor for getting shared capabilities |
java.util.Collection<Capability> |
getSystemCapabilities(java.lang.String type)
Collection of Capability which have keys prefixed with system.{type}
Used to identify Bamboo system capabilities for Builders / JDKs. |
java.util.Collection<Capability> |
getSystemCapabilitiesByKey(java.lang.String key)
Collection of Capability which have the specified key |
java.util.Collection<java.lang.String> |
getSystemKeysExcludingElasticByType(java.lang.String type)
Returns a list of Capability Keys that match the given type but not for capabilities used by Elastic Images. |
void |
saveCapabilitySet(CapabilitySet capabilitySet)
Persist capabilites |
Methods inherited from class com.atlassian.bamboo.persistence.BambooHibernateObjectDao |
---|
executeCountQuery, executeReturnLong, findById, findById |
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao |
---|
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, updateModificationData |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, 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.persistence.BambooObjectDao |
---|
findById |
Methods inherited from interface bucket.core.persistence.ObjectDao |
---|
findAll, findAllSorted, refresh, remove, replicate, save, saveRaw |
Constructor Detail |
---|
public CapabilityHibernateSetDao()
Method Detail |
---|
public java.lang.Class getPersistentClass()
getPersistentClass
in interface bucket.core.persistence.ObjectDao
@Nullable public PipelineDefinition getPipelineDefinition(@NotNull CapabilitySet capabilitySet)
getPipelineDefinition
in interface CapabilitySetDao
@Nullable public ElasticImageConfiguration getElasticImageConfiguration(@NotNull CapabilitySet capabilitySet)
CapabilitySetDao
getElasticImageConfiguration
in interface CapabilitySetDao
public CapabilitySet getSharedCapabilitySet()
CapabilitySetDao
getSharedCapabilitySet
in interface CapabilitySetDao
@NotNull public java.util.List<java.lang.String> findUniqueCapabilityKeys()
CapabilitySetDao
findUniqueCapabilityKeys
in interface CapabilitySetDao
@NotNull public java.util.Collection<Capability> getSystemCapabilities(java.lang.String type)
CapabilitySetDao
Capability
which have keys prefixed with system.{type}
Used to identify Bamboo system capabilities for Builders / JDKs.
getSystemCapabilities
in interface CapabilitySetDao
type
- eg "builder" or "jdk"
@NotNull public java.util.Collection<java.lang.String> getSystemKeysExcludingElasticByType(@NotNull java.lang.String type)
CapabilitySetDao
getSystemKeysExcludingElasticByType
in interface CapabilitySetDao
type
- eg "builder" or "jdk"
@NotNull public java.util.Collection<java.lang.String> getAllSystemKeysByType(@NotNull java.lang.String type)
CapabilitySetDao
getAllSystemKeysByType
in interface CapabilitySetDao
type
- eg "builder" or "jdk"
@NotNull public java.util.Collection<Capability> getSystemCapabilitiesByKey(java.lang.String key)
CapabilitySetDao
Capability
which have the specified key
getSystemCapabilitiesByKey
in interface CapabilitySetDao
public void saveCapabilitySet(CapabilitySet capabilitySet)
CapabilitySetDao
saveCapabilitySet
in interface CapabilitySetDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |