public interface CapabilitySetDao extends BambooObjectDao
| 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
|
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
|
findByIdCapabilitySet getSharedCapabilitySet()
void saveCapabilitySet(CapabilitySet capabilitySet)
capabilitySet - @NotNull Collection<Capability> getSystemCapabilities(String type)
Capability which have keys prefixed with system.{type}
Used to identify Bamboo system capabilities for Builders / JDKs.type - eg "builder" or "jdk"@NotNull Collection<String> getSystemKeysExcludingElasticByType(@NotNull String type)
type - eg "builder" or "jdk"@NotNull Collection<String> getAllSystemKeysByType(@NotNull String type)
type - eg "builder" or "jdk"@NotNull Collection<Capability> getSystemCapabilitiesByKey(String key)
Capability which have the specified keykey - @NotNull List<String> findUniqueCapabilityKeys()
@Nullable PipelineDefinition getPipelineDefinition(@NotNull CapabilitySet capabilitySet)
@Nullable ElasticImageConfiguration getElasticImageConfiguration(@NotNull CapabilitySet capabilitySet)
capabilitySet - Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.