Package com.atlassian.bamboo.chains
Interface ChainDao
-
- All Superinterfaces:
BambooObjectDao,bucket.core.persistence.ObjectDao
@Internal public interface ChainDao extends BambooObjectDao
DAO manager forChain
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull List<Chain>getAllChains()Returns all of theChain's@Nullable ChaingetByChainKey(@NotNull String fullKey)Gets a build chain by its key (eg BAM-FOO)@Nullable ChaingetByKey(@NotNull Project project, @NotNull String key)Gets a chain by its key (eg, FOO)@Nullable ChaingetByName(@NotNull Project project, @NotNull String name)Gets a chain by its name-
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao
findById
-
-
-
-
Method Detail
-
getAllChains
@NotNull @NotNull List<Chain> getAllChains()
Returns all of theChain's- Returns:
- chains
-
getByChainKey
@Nullable @Nullable Chain getByChainKey(@NotNull @NotNull String fullKey)
Gets a build chain by its key (eg BAM-FOO)- Parameters:
fullKey-- Returns:
- chain
-
getByKey
@Nullable @Nullable Chain getByKey(@NotNull @NotNull Project project, @NotNull @NotNull String key)
Gets a chain by its key (eg, FOO)- Parameters:
project-key-- Returns:
- chain
-
-