com.atlassian.bamboo.capability
Interface CapabilitySetDao

All Superinterfaces:
BambooObjectDao, bucket.core.persistence.ObjectDao
All Known Subinterfaces:
ImageCapabilitySetDao, LocalCapabilitySetDao, RemoteCapabilitySetDao
All Known Implementing Classes:
CapabilityHibernateSetDao, ImageCapabilitySetHibernateDao, LocalCapabilityHibernateSetDao, RemoteCapabilityHibernateSetDao

public interface CapabilitySetDao
extends BambooObjectDao


Method Summary
 java.util.List<java.lang.String> findUniqueCapabilityKeys()
          Finds all the distinct capability keys
 ElasticImageConfiguration getElasticImageConfiguration(CapabilitySet capabilitySet)
          Finds ElasticImageConfiguration using capability set
 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.
 void saveCapabilitySet(CapabilitySet capabilitySet)
          Persist capabilites
 
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao
findById
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

getSharedCapabilitySet

CapabilitySet getSharedCapabilitySet()
Accessor for getting shared capabilities

Returns:

saveCapabilitySet

void saveCapabilitySet(CapabilitySet capabilitySet)
Persist capabilites

Parameters:
capabilitySet -

getSystemCapabilities

@NotNull
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.

Parameters:
type -
Returns:

findUniqueCapabilityKeys

@NotNull
java.util.List<java.lang.String> findUniqueCapabilityKeys()
Finds all the distinct capability keys

Returns:

getPipelineDefinition

@Nullable
PipelineDefinition getPipelineDefinition(@NotNull
                                                  CapabilitySet capabilitySet)

getElasticImageConfiguration

@Nullable
ElasticImageConfiguration getElasticImageConfiguration(@NotNull
                                                                CapabilitySet capabilitySet)
Finds ElasticImageConfiguration using capability set

Parameters:
capabilitySet -
Returns:


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.