| Modifier and Type | Interface and Description |
|---|---|
interface |
AgentWithCapabilitiesDefinition |
interface |
ElasticAgentDefinition |
interface |
LocalAgentDefinition |
interface |
RemoteAgentDefinition |
| Modifier and Type | Method and Description |
|---|---|
void |
BuildQueue.setDefinition(PipelineDefinition pipelineDefinition) |
| Modifier and Type | Method and Description |
|---|---|
PipelineDefinition |
AgentDao.findAgentByName(String name)
Retrieve a pipelineDefinition by name.
|
PipelineDefinition |
AgentDao.getAgentById(long id)
Retrieve the agentDefinition object.
|
PipelineDefinition |
AgentDao.getLocalAgentById(long id)
Retrieve the localAgentDefinition
|
PipelineDefinition |
AgentDao.getRemoteAgentById(long id)
Retrieve the remoteAgentDefinition
|
PipelineDefinition |
AgentDao.saveAndReturn(PipelineDefinition pipelineDefinition)
Saves the passed definition and returns a new copy of the updated pipeline definition
|
| Modifier and Type | Method and Description |
|---|---|
List<PipelineDefinition> |
AgentDao.findAllAgents()
Retrieves all agents();
|
Set<PipelineDefinition> |
AgentDao.findAllAgentsForAgentIds(Collection<Long> agentIds)
Return a list of agents by their ids
|
List<PipelineDefinition> |
AgentDao.findAllAgentsWithNameLike(String likeName)
Retrun a list of agents whose name is like the provided string.
|
| Modifier and Type | Method and Description |
|---|---|
PipelineDefinition |
AgentDao.saveAndReturn(PipelineDefinition pipelineDefinition)
Saves the passed definition and returns a new copy of the updated pipeline definition
|
| Modifier and Type | Method and Description |
|---|---|
long |
AgentDao.getAgentCount(Class<? extends PipelineDefinition> agentDefinitionClass)
Retrieves the amount of agents of given type stored in the database
|
| Modifier and Type | Method and Description |
|---|---|
PipelineDefinition |
AgentManager.getAgentDefinition(Long agentId) |
PipelineDefinition |
AgentManager.getAgentDefinitionByName(String name)
Retrieve a pipelineDefinition by name.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Long,PipelineDefinition> |
AgentManager.findAllAgentsForAgentIds(Collection<Long> agentIds)
Returns a Map of
PipelineDefinitions keyed by their id |
List<PipelineDefinition> |
AgentManager.getAgentDefinitionsWithNameLike(String likeName)
Return a list of agents whose name is like the provided string.
|
List<PipelineDefinition> |
AgentManager.getAllPersistedAgentDefinitions()
Retrieves a list of all agent definitions stored in the database.
|
| Modifier and Type | Method and Description |
|---|---|
static Iterable<AgentAssignmentService.AgentAssignmentExecutor> |
AgentAssignmentServiceHelper.asExecutors(PipelineDefinition pipelineDefinition) |
static Iterable<AgentAssignmentService.AgentAssignmentExecutor> |
AgentAssignmentServiceHelper.asExecutors(PipelineDefinition pipelineDefinition,
boolean directAssignmentsOnly) |
void |
AgentManager.saveAnyPipeline(PipelineDefinition pipelineDefinition)
Stores a pipeline
PipelineDefinition of any type (elastic, local, remote)
AgentConfigurationUpdateEvent is fired after the pipeline is saved |
void |
AgentManager.saveAnyPipeline(PipelineDefinition pipelineDefinition,
AgentConfigurationUpdatedEventFactory eventFactory)
Stores a pipeline
PipelineDefinition of any type (elastic, local,
remote) |
void |
AgentManager.savePipeline(PipelineDefinition pipelineDefinition)
Stores the
PipelineDefinition. |
void |
AgentManager.savePipeline(PipelineDefinition pipelineDefinition,
AgentConfigurationUpdatedEventFactory eventFactory)
Stores the
PipelineDefinition. |
| Modifier and Type | Method and Description |
|---|---|
long |
AgentManager.getAgentCount(Class<? extends PipelineDefinition> agentDefinitionClass)
Retrieves the amount of agents of given type stored in the database
|
| Modifier and Type | Method and Description |
|---|---|
PipelineDefinition |
CapabilitySetDao.getPipelineDefinition(CapabilitySet capabilitySet) |
| Modifier and Type | Method and Description |
|---|---|
PipelineDefinition |
BuildAgent.getDefinition() |
| Modifier and Type | Method and Description |
|---|---|
void |
BuildAgent.setDefinition(PipelineDefinition definition) |
| Modifier and Type | Method and Description |
|---|---|
PipelineDefinition |
CapabilitySetManager.getPipelineDefinition(CapabilitySet capabilitySet) |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.