| Modifier and Type | Method and Description |
|---|---|
void |
StopBuildManager.stopAgentNicely(BuildAgent buildAgent)
Will tell an agent to stop after it's finished the current build
|
| Modifier and Type | Method and Description |
|---|---|
void |
BuildExecutionManager.setCurrentlyBuilding(BuildContext buildContext,
Collection<BuildAgent> executableAgents,
Collection<ElasticImageConfiguration> executableImages)
Denotes that the passed build context is beginning the build process.
|
| Modifier and Type | Method and Description |
|---|---|
BuildAgent |
AgentManager.getAgent(long agentId) |
| Modifier and Type | Method and Description |
|---|---|
Collection<BuildAgent> |
AgentManager.getActiveAndEnabledAgents()
Returns agents that are enabled and online
|
List<BuildAgent> |
AgentManager.getAllAgents() |
List<BuildAgent> |
AgentManager.getAllNonElasticAgents() |
List<BuildAgent> |
AgentManager.getAllRemoteAgents()
Gets all remote agents in the system.
|
List<BuildAgent> |
AgentManager.getAllRemoteAgents(boolean onlineOnly)
Get remote agents.
|
SortedSet<BuildAgent> |
ExecutableAgentsMatrix.getBuildAgents()
Get a set of agents that match ALL requirements.
|
Collection<BuildAgent> |
ExecutableAgentsMatrix.getBuildAgents(String requirementKey) |
Collection<BuildAgent> |
AgentManager.getBusyBuildAgents()
Gets a collection agents that are currently building or cancelling a build
|
Collection<BuildAgent> |
AgentManager.getExecutableAgents(RequirementSet requirements,
AgentManager.DisabledAgentsInclusion includeDisabled,
AgentManager.OfflineAgentsInclusion includeOffline)
Deprecated.
since 5.0 use methods of
ExecutableAgentsHelper |
Collection<BuildAgent> |
AgentManager.getExecutableAgents(RequirementSet requirementSet,
boolean includeDisabled)
Deprecated.
since 5.0 use methods of
ExecutableAgentsHelper |
List<BuildAgent> |
AgentManager.getOnlineElasticAgents()
Retrieve all online elastic build agents.
|
Collection<BuildAgent> |
ExecutableAgentsMatrix.getOnlineEnabledBuildAgents()
Get a set of agents that match ALL requirements AND are currently enabled and online.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AgentManager.abandonBuild(BuildAgent remoteAgent,
boolean agentStartingUp) |
void |
ExecutableAgentsMatrix.addBuildAgent(BuildAgent buildAgent)
Record an agent matching ALL requirements
|
static Iterable<AgentAssignmentService.AgentAssignmentExecutor> |
AgentAssignmentServiceHelper.asExecutors(BuildAgent agent) |
static Iterable<AgentAssignmentService.AgentAssignmentExecutor> |
AgentAssignmentServiceHelper.asExecutors(BuildAgent agent,
boolean directAssignmentsOnly) |
boolean |
AgentAssignmentService.isCapabilitiesMatch(BuildAgent agent,
ImmutableJob job)
Helper methods to check if executor is capable of running executable
|
boolean |
AgentAssignmentService.isCapabilitiesMatch(BuildAgent agent,
long environmentid) |
void |
ExecutableAgentsMatrix.put(String requirementKey,
BuildAgent agent)
Record an agent matching a requirement.
|
void |
AgentManager.stopAgent(BuildAgent agent)
Performs any other operations required when an agent goes offline, such as updating the status and shutdown
time.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutableAgentsMatrix.addBuildAgents(Collection<BuildAgent> buildAgents)
Record a collection of agents matching ALL requirements
|
| Modifier and Type | Method and Description |
|---|---|
Object |
AgentConfigurationUpdatedEventFactory.create(Object o,
BuildAgent buildAgent) |
| Modifier and Type | Method and Description |
|---|---|
Collection<BuildAgent> |
ExecutableAgentsHelper.getExecutableAgents(ExecutableAgentsHelper.ExecutorQuery executorQuery) |
| Modifier and Type | Method and Description |
|---|---|
int |
BuildResultsSummaryManager.countBuildResultsSummariesForAgent(BuildAgent buildAgent)
Deprecated.
|
int |
BuildResultsSummaryManager.countFailedBuildResultsSummariesForAgent(BuildAgent buildAgent)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<BuildAgent> |
CurrentlyBuilding.ExecutableInfo.getBuildAgents() |
Collection<BuildAgent> |
CurrentlyBuilding.getExecutableBuildAgents()
Get the list of executable agents for this build.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LocalBuildAgent |
| Modifier and Type | Method and Description |
|---|---|
Collection<BuildAgent> |
BuildAgentRequirementFilter.filter(CommonContext context,
Collection<BuildAgent> agents,
MinimalRequirementSet requirements)
Filter the given collection of agents by the requirements
|
| Modifier and Type | Method and Description |
|---|---|
void |
BuildAgent.BuildAgentVisitor.visitRemote(BuildAgent remoteBuildAgent) |
| Modifier and Type | Method and Description |
|---|---|
Collection<BuildAgent> |
BuildAgentRequirementFilter.filter(CommonContext context,
Collection<BuildAgent> agents,
MinimalRequirementSet requirements)
Filter the given collection of agents by the requirements
|
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.