|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AgentDao
Agent Definition Dao that can search on PipelineDefinitions as well as it sub classes.
Method Summary | |
---|---|
PipelineDefinition |
findAgentByName(java.lang.String name)
Retrieve a pipelineDefinition by name. |
java.util.List<PipelineDefinition> |
findAllAgents()
Retrieves all agents(); |
java.util.Set<PipelineDefinition> |
findAllAgentsForAgentIds(java.util.Collection<java.lang.Long> agentIds)
Return a list of agents by their ids |
java.util.List<PipelineDefinition> |
findAllAgentsWithNameLike(java.lang.String likeName)
Retrun a list of agents whose name is like the provided string. |
java.util.List<ElasticAgentDefinition> |
findAllElasticAgents()
Retrieves all elastic agents |
java.util.List<LocalAgentDefinition> |
findAllLocalAgents()
Retrieves all local agents |
java.util.List<RemoteAgentDefinition> |
findAllRemoteAgents()
Retrieves all remote agents |
PipelineDefinition |
getAgentById(long id)
Retrieve the agentDefinition object. |
PipelineDefinition |
getLocalAgentById(long id)
Retrieve the localAgentDefinition |
PipelineDefinition |
getRemoteAgentById(long id)
Retrieve the remoteAgentDefinition |
PipelineDefinition |
saveAndReturn(PipelineDefinition pipelineDefinition)
Saves the passed definition and returns a new copy of the updated pipeline definition |
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 |
---|
@NotNull PipelineDefinition saveAndReturn(@NotNull PipelineDefinition pipelineDefinition)
pipelineDefinition
- to save
PipelineDefinition getAgentById(long id)
id
- - the id for the agent to be retrieved
PipelineDefinition getLocalAgentById(long id)
id
- of the agent
PipelineDefinition getRemoteAgentById(long id)
id
- of the agent
java.util.List<RemoteAgentDefinition> findAllRemoteAgents()
java.util.List<LocalAgentDefinition> findAllLocalAgents()
java.util.List<ElasticAgentDefinition> findAllElasticAgents()
java.util.List<PipelineDefinition> findAllAgents()
@NotNull java.util.List<PipelineDefinition> findAllAgentsWithNameLike(@NotNull java.lang.String likeName)
likeName
- the string to match
java.util.Set<PipelineDefinition> findAllAgentsForAgentIds(@NotNull java.util.Collection<java.lang.Long> agentIds)
buildResultsSummaries
-
PipelineDefinition
@Nullable PipelineDefinition findAgentByName(@NotNull java.lang.String name)
name
- of the agent to find
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |