public class CapabilityHibernateSetDao extends BambooHibernateObjectDao implements CapabilitySetDao
| Constructor and Description |
|---|
CapabilityHibernateSetDao() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
findUniqueCapabilityKeys()
Finds all the distinct capability keys
|
Collection<String> |
getAllSystemKeysByType(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
|
Class |
getPersistentClass() |
PipelineDefinition |
getPipelineDefinition(CapabilitySet capabilitySet) |
CapabilitySet |
getSharedCapabilitySet()
Accessor for getting shared capabilities
|
Collection<Capability> |
getSystemCapabilities(String type)
Collection of
Capability which have keys prefixed with system.{type}
Used to identify Bamboo system capabilities for Builders / JDKs. |
Collection<Capability> |
getSystemCapabilitiesByKey(String key)
Collection of
Capability which have the specified key |
Collection<String> |
getSystemKeysExcludingElasticByType(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
|
findAll, findAllSorted, findById, findById, refresh, remove, replicate, save, saveRaw, setIndexer, updateModificationDatacheckDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindByIdpublic 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)
CapabilitySetDaogetElasticImageConfiguration in interface CapabilitySetDaopublic CapabilitySet getSharedCapabilitySet()
CapabilitySetDaogetSharedCapabilitySet in interface CapabilitySetDao@NotNull public List<String> findUniqueCapabilityKeys()
CapabilitySetDaofindUniqueCapabilityKeys in interface CapabilitySetDao@NotNull public Collection<Capability> getSystemCapabilities(String type)
CapabilitySetDaoCapability which have keys prefixed with system.{type}
Used to identify Bamboo system capabilities for Builders / JDKs.getSystemCapabilities in interface CapabilitySetDaotype - eg "builder" or "jdk"@NotNull public Collection<String> getSystemKeysExcludingElasticByType(@NotNull String type)
CapabilitySetDaogetSystemKeysExcludingElasticByType in interface CapabilitySetDaotype - eg "builder" or "jdk"@NotNull public Collection<String> getAllSystemKeysByType(@NotNull String type)
CapabilitySetDaogetAllSystemKeysByType in interface CapabilitySetDaotype - eg "builder" or "jdk"@NotNull public Collection<Capability> getSystemCapabilitiesByKey(String key)
CapabilitySetDaoCapability which have the specified keygetSystemCapabilitiesByKey in interface CapabilitySetDaopublic void saveCapabilitySet(CapabilitySet capabilitySet)
CapabilitySetDaosaveCapabilitySet in interface CapabilitySetDaoCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.