Interface EphemeralAgentTemplateDao
-
- All Superinterfaces:
BambooObjectDao<EphemeralAgentTemplate>
- All Known Implementing Classes:
EphemeralAgentTemplateHibernateDao
public interface EphemeralAgentTemplateDao extends BambooObjectDao<EphemeralAgentTemplate>
DAO forEphemeralAgentTemplate
.- Since:
- 9.3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<EphemeralAgentTemplate>
findAll()
Gets all available Ephemeral Agent Template.List<EphemeralAgentTemplate>
findByFilter(String filter, int start, int limit)
Returns list (one page) of available ephemeral agent templates.@Nullable EphemeralAgentTemplate
findById(long id)
Get Ephemeral Agent Template by its id.@NotNull Optional<EphemeralAgentTemplate>
findByName(@NotNull String name)
Get Ephemeral Agent Template by its name.-
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
-
-
-
Method Detail
-
findAll
List<EphemeralAgentTemplate> findAll()
Gets all available Ephemeral Agent Template.- Returns:
- list of the templates
-
findByFilter
List<EphemeralAgentTemplate> findByFilter(String filter, int start, int limit)
Returns list (one page) of available ephemeral agent templates. Supports pagination.- Parameters:
filter
- filter- Returns:
- list of templates
-
findById
@Nullable @Nullable EphemeralAgentTemplate findById(long id)
Get Ephemeral Agent Template by its id.- Parameters:
id
- Ephemeral Agent Template id- Returns:
- Ephemeral Agent Template object or null if not found
-
findByName
@NotNull @NotNull Optional<EphemeralAgentTemplate> findByName(@NotNull @NotNull String name)
Get Ephemeral Agent Template by its name.- Parameters:
name
- Ephemeral Agent Template name- Returns:
- Ephemeral Agent Template object or empty if not found
- Since:
- 9.4.0
-
-