Interface ChainDao

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

@Internal public interface ChainDao extends BambooObjectDao
DAO manager for Chain
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull List<Chain>
    Returns all of the Chain's
    @Nullable Chain
    getByChainKey(@NotNull String fullKey)
    Gets a build chain by its key (eg BAM-FOO)
    @Nullable Chain
    getByKey(@NotNull Project project, @NotNull String key)
    Gets a chain by its key (eg, FOO)
    @Nullable Chain
    getByName(@NotNull Project project, @NotNull 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 Details

    • getAllChains

      @NotNull @NotNull List<Chain> getAllChains()
      Returns all of the Chain'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
    • getByName

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