com.atlassian.bamboo.chains
Interface ChainDao

All Superinterfaces:
BambooObjectDao, bucket.core.persistence.ObjectDao

@Internal
public interface ChainDao
extends BambooObjectDao

DAO manager for Chain


Method Summary
 List<Chain> getAllChains()
          Returns all of the Chain's
 Chain getByChainKey(String fullKey)
          Gets a build chain by its key (eg BAM-FOO)
 Chain getByKey(Project project, String key)
          Gets a chain by its key (eg, FOO)
 Chain getByName(Project project, String name)
          Gets a chain by its name
 
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

getAllChains

@NotNull
List<Chain> getAllChains()
Returns all of the Chain's

Returns:
chains

getByChainKey

@Nullable
Chain getByChainKey(@NotNull
                             String fullKey)
Gets a build chain by its key (eg BAM-FOO)

Parameters:
key -
Returns:
chain

getByKey

@Nullable
Chain getByKey(@NotNull
                        Project project,
                        @NotNull
                        String key)
Gets a chain by its key (eg, FOO)

Parameters:
project -
key -
Returns:
chain

getByName

@Nullable
Chain getByName(@NotNull
                         Project project,
                         @NotNull
                         String name)
Gets a chain by its name

Parameters:
project -
name -
Returns:
chain


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.