Package com.atlassian.bamboo.chains
Interface ChainDao
- All Superinterfaces:
BambooObjectDao
,bucket.core.persistence.ObjectDao
DAO manager for
Chain
-
Method Summary
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 Details
-
getAllChains
Returns all of theChain
's- Returns:
- chains
-
getByChainKey
Gets a build chain by its key (eg BAM-FOO)- Parameters:
fullKey
-- Returns:
- chain
-
getByKey
Gets a chain by its key (eg, FOO)- Parameters:
project
-key
-- Returns:
- chain
-
getByName
@Nullable @Nullable Chain getByName(@NotNull @NotNull Project project, @NotNull @NotNull String name) Gets a chain by its name- Parameters:
project
-name
-- Returns:
- chain
-