Interface EphemeralAgentTemplateDao
- All Superinterfaces:
BambooObjectDao<EphemeralAgentTemplate>
- All Known Implementing Classes:
EphemeralAgentTemplateHibernateDao
DAO for
EphemeralAgentTemplate.- Since:
- 9.3.0
-
Method Summary
Modifier and TypeMethodDescriptionfindAll()Gets all available Ephemeral Agent Template.findByFilter(String filter, int start, int limit) Returns list (one page) of available ephemeral agent templates.@Nullable EphemeralAgentTemplatefindById(long id) Get Ephemeral Agent Template by its id.@NotNull Optional<EphemeralAgentTemplate> findByName(@NotNull String name) Get Ephemeral Agent Template by its name.
-
Method Details
-
findAll
List<EphemeralAgentTemplate> findAll()Gets all available Ephemeral Agent Template.- Returns:
- list of the templates
-
findByFilter
Returns list (one page) of available ephemeral agent templates. Supports pagination.- Parameters:
filter- filter- Returns:
- list of templates
-
findById
Get Ephemeral Agent Template by its id.- Parameters:
id- Ephemeral Agent Template id- Returns:
- Ephemeral Agent Template object or null if not found
-
findByName
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
-