Modifier and Type | Method and Description |
---|---|
BuildAgent |
BuildResultsAction.getAgent(BuildResultsSummary summary) |
BuildAgent |
BuildResultsAction.getAgent(CurrentlyBuilding currentlyBuilding) |
BuildAgent |
ViewBuild.getAgent(CurrentlyBuilding currentlyBuilding) |
Modifier and Type | Method and Description |
---|---|
Collection<BuildAgent> |
ChainResultsAction.getExecutableAgents() |
Collection<BuildAgent> |
BuildResultsAction.getExecutableAgents() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultStopBuildManager.stopAgentNicely(BuildAgent buildAgent) |
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 |
DefaultBuildExecutionManager.setCurrentlyBuilding(BuildContext buildContext,
Collection<BuildAgent> executableAgents,
Collection<ElasticImageConfiguration> executableImages)
Denotes that the passed build context is beginning the build process.
|
void |
BuildExecutionManager.setCurrentlyBuilding(BuildContext buildContext,
Collection<BuildAgent> executableAgents,
Collection<ElasticImageConfiguration> executableImages)
Denotes that the passed build context is beginning the build process.
|
CurrentlyBuilding |
CurrentlyBuildingContainer.setCurrentlyBuilding(BuildContext buildContext,
CurrentlyBuilding currentlyBuilding,
Collection<BuildAgent> executableAgents,
Collection<ElasticImageConfiguration> executableImages) |
Modifier and Type | Method and Description |
---|---|
BuildAgent |
AgentStateCache.getAgent(long agentId) |
BuildAgent |
AgentManagerImpl.getAgent(long agentId) |
BuildAgent |
AgentManager.getAgent(long agentId) |
BuildAgent |
AgentStateCache.updateAgentInCache(PipelineDefinition definition) |
Modifier and Type | Method and Description |
---|---|
Collection<BuildAgent> |
AgentStateCache.getActiveAndEnabledAgents() |
Collection<BuildAgent> |
AgentManagerImpl.getActiveAndEnabledAgents() |
Collection<BuildAgent> |
AgentManager.getActiveAndEnabledAgents()
Returns agents that are enabled and online
|
List<BuildAgent> |
AgentStateCache.getAllAgents() |
List<BuildAgent> |
AgentManagerImpl.getAllAgents() |
List<BuildAgent> |
AgentManager.getAllAgents() |
List<BuildAgent> |
AgentManagerImpl.getAllNonElasticAgents() |
List<BuildAgent> |
AgentManager.getAllNonElasticAgents() |
List<BuildAgent> |
AgentManagerImpl.getAllRemoteAgents() |
List<BuildAgent> |
AgentManager.getAllRemoteAgents()
Gets all remote agents in the system.
|
List<BuildAgent> |
AgentStateCache.getAllRemoteAgents(boolean onlineOnly) |
List<BuildAgent> |
AgentManagerImpl.getAllRemoteAgents(boolean onlineOnly) |
List<BuildAgent> |
AgentManager.getAllRemoteAgents(boolean onlineOnly)
Get remote agents.
|
SortedSet<BuildAgent> |
ExecutableAgentsMatrixImpl.getBuildAgents() |
SortedSet<BuildAgent> |
ExecutableAgentsMatrix.getBuildAgents()
Get a set of agents that match ALL requirements.
|
Collection<BuildAgent> |
ExecutableAgentsMatrixImpl.getBuildAgents(String key) |
Collection<BuildAgent> |
ExecutableAgentsMatrix.getBuildAgents(String requirementKey) |
Collection<BuildAgent> |
AgentStateCache.getBusyBuildAgents() |
Collection<BuildAgent> |
AgentManagerImpl.getBusyBuildAgents() |
Collection<BuildAgent> |
AgentManager.getBusyBuildAgents()
Gets a collection agents that are currently building or cancelling a build
|
SortedSet<BuildAgent> |
ExecutableAgentsMatrixImpl.getDedicatedNonMatchingBuildAgents() |
SortedSet<BuildAgent> |
ExecutableAgentsMatrix.getDedicatedNonMatchingBuildAgents() |
Collection<BuildAgent> |
AgentStateCache.getElasticActiveAndEnabledAgents() |
Collection<BuildAgent> |
AgentManagerImpl.getElasticActiveAndEnabledAgents() |
Collection<BuildAgent> |
AgentManager.getElasticActiveAndEnabledAgents()
Returns elastic agents that are enabled and online
|
List<BuildAgent> |
AgentStateCache.getNonElasticAgents() |
List<BuildAgent> |
AgentStateCache.getOnlineElasticAgents() |
List<BuildAgent> |
AgentManagerImpl.getOnlineElasticAgents() |
List<BuildAgent> |
AgentManager.getOnlineElasticAgents()
Retrieve all online elastic build agents.
|
Collection<BuildAgent> |
ExecutableAgentsMatrixImpl.getOnlineEnabledBuildAgents() |
Collection<BuildAgent> |
ExecutableAgentsMatrix.getOnlineEnabledBuildAgents()
Get a set of agents that match ALL requirements AND are currently enabled and online.
|
Collection<BuildAgent> |
AgentStateCache.getRemoteActiveAndEnabledAgents() |
Collection<BuildAgent> |
AgentManagerImpl.getRemoteActiveAndEnabledAgents() |
Collection<BuildAgent> |
AgentManager.getRemoteActiveAndEnabledAgents()
Returns remote agents that are enabled and online
|
Modifier and Type | Method and Description |
---|---|
void |
AgentManagerImpl.abandonBuild(BuildAgent remoteAgent,
boolean agentStartingUp) |
void |
AgentManager.abandonBuild(BuildAgent remoteAgent,
boolean agentStartingUp) |
void |
ExecutableAgentsMatrixImpl.addBuildAgent(BuildAgent buildAgent) |
void |
ExecutableAgentsMatrix.addBuildAgent(BuildAgent buildAgent)
Record an agent matching ALL requirements
|
void |
ExecutableAgentsMatrixImpl.addDedicatedNonMatchingBuildAgent(BuildAgent buildAgent) |
void |
ExecutableAgentsMatrix.addDedicatedNonMatchingBuildAgent(BuildAgent buildAgent)
Record build agent dedicated to the job/plan/project but not satisfying all requirements
|
static Iterable<AgentAssignmentService.AgentAssignmentExecutor> |
AgentAssignmentServiceHelper.asExecutors(BuildAgent agent) |
static Iterable<AgentAssignmentService.AgentAssignmentExecutor> |
AgentAssignmentServiceHelper.asExecutors(BuildAgent agent,
boolean directAssignmentsOnly) |
boolean |
AgentAssignmentServiceImpl.isCapabilitiesMatch(BuildAgent agent,
ImmutableJob job) |
boolean |
AgentAssignmentService.isCapabilitiesMatch(BuildAgent agent,
ImmutableJob job)
Helper methods to check if executor is capable of running executable
|
boolean |
AgentAssignmentServiceImpl.isCapabilitiesMatch(BuildAgent agent,
long environmentId) |
boolean |
AgentAssignmentService.isCapabilitiesMatch(BuildAgent agent,
long environmentid) |
void |
ExecutableAgentsMatrixImpl.put(String key,
BuildAgent value) |
void |
ExecutableAgentsMatrix.put(String requirementKey,
BuildAgent agent)
Record an agent matching a requirement.
|
void |
AgentStateCache.removeFromCache(BuildAgent agent) |
void |
AgentManagerImpl.stopAgent(BuildAgent agent) |
void |
AgentManager.stopAgent(BuildAgent agent)
Performs any other operations required when an agent goes offline, such as updating the status and shutdown
time.
|
void |
RemoteAgentManagerImpl.stopRemoteAgent(BuildAgent agent) |
void |
RemoteAgentManager.stopRemoteAgent(BuildAgent agent) |
Modifier and Type | Method and Description |
---|---|
void |
ExecutableAgentsMatrixImpl.addBuildAgents(Collection<BuildAgent> buildAgents) |
void |
ExecutableAgentsMatrix.addBuildAgents(Collection<BuildAgent> buildAgents)
Record a collection of agents matching ALL requirements
|
void |
AgentStateCache.initialiseAgents(Set<LocalBuildAgent> localAgents,
Set<BuildAgent> remoteAgents) |
Modifier and Type | Method and Description |
---|---|
static CapabilitySet |
CapabilitySetProvider.getAgentCapabilitySet(BuildAgent agent) |
Modifier and Type | Field and Description |
---|---|
protected BuildAgent |
ViewAgentDetails.buildAgent |
protected BuildAgent |
ConfigureAgentCapability.buildAgent |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.collect.Multimap<Capability,BuildAgent> |
ConfigureCapabilityKey.capabilityAgentMappingsSorted |
Modifier and Type | Method and Description |
---|---|
BuildAgent |
ConfigureCapabilityKey.getAgent(Long id) |
BuildAgent |
ConfigureCapability.getAgentFromCapabilitySet(CapabilitySet capabilitySet) |
BuildAgent |
ViewAgentDetails.getBuildAgent() |
BuildAgent |
ViewAgent.getBuildAgent() |
BuildAgent |
ConfigureAgentCapability.getBuildAgent() |
Modifier and Type | Method and Description |
---|---|
List<BuildAgent> |
ViewAgentPlanMatrix.getAgents() |
Collection<Map.Entry<Capability,BuildAgent>> |
ConfigureCapabilityKey.getCapabilityAgentMappingsSorted() |
List<BuildAgent> |
ViewAgents.getDedicatedNonMatchingAgents() |
List<BuildAgent> |
ViewAgents.getOfflineRemoteAgents() |
List<BuildAgent> |
ViewAgents.getOnlineRemoteAgents() |
List<BuildAgent> |
ViewOfflineAgents.getResultsList() |
Modifier and Type | Method and Description |
---|---|
boolean |
ElasticAgentOnImagePredicate.apply(BuildAgent agent) |
Modifier and Type | Method and Description |
---|---|
List<BuildAgent> |
DescribeAgentAvailability.sortMatchingAgents(Collection<BuildAgent> matchingAgents) |
Modifier and Type | Method and Description |
---|---|
List<BuildAgent> |
DescribeAgentAvailability.sortMatchingAgents(Collection<BuildAgent> matchingAgents) |
Modifier and Type | Method and Description |
---|---|
BuildAgent |
DeploymentResultImpl.getAgent() |
BuildAgent |
DeploymentResult.getAgent() |
Modifier and Type | Method and Description |
---|---|
Object |
AgentConfigurationUpdatedEventFactory.create(Object o,
BuildAgent buildAgent) |
Constructor and Description |
---|
AgentConfigurationUpdatedEvent(Object source,
BuildAgent buildAgent) |
AgentDisabledOrEnabledEvent(Object o,
BuildAgent buildAgent) |
Modifier and Type | Field and Description |
---|---|
protected BuildAgent |
AgentEvent.buildAgent |
Modifier and Type | Method and Description |
---|---|
BuildAgent |
AgentEvent.getBuildAgent() |
Constructor and Description |
---|
AgentEvent(Object source,
BuildAgent buildAgent) |
Modifier and Type | Method and Description |
---|---|
List<BuildAgent> |
DecoratedErrorDetailsImpl.getAgents() |
Modifier and Type | Method and Description |
---|---|
Collection<BuildAgent> |
ExecutableAgentsHelperImpl.getExecutableAgents(ExecutableAgentsHelper.ExecutorQuery executorQuery) |
Collection<BuildAgent> |
ExecutableAgentsHelper.getExecutableAgents(ExecutableAgentsHelper.ExecutorQuery executorQuery) |
Modifier and Type | Method and Description |
---|---|
boolean |
ExecutableAgentsHelperImpl.canExecute(BuildAgent buildAgent,
CommonContext context,
ImmutableRequirementSet requirements) |
boolean |
ExecutableAgentsHelper.canExecute(BuildAgent buildAgent,
CommonContext context,
ImmutableRequirementSet requirements)
Returns true or false depending on whether the agent can execute the given context, taking into account requirement set
and other global settings such as agent assignments.
|
Constructor and Description |
---|
RestAgent(BuildAgent buildAgent,
String link) |
Constructor and Description |
---|
RestAgentAssignmentExecutorDetails(BuildAgent agent,
AgentAssignment.ExecutableType executableType,
boolean capabilitiesMatch) |
Modifier and Type | Method and Description |
---|---|
BuildAgent |
RestDeploymentResult.getAgent() |
Constructor and Description |
---|
RestAgentDetails(BuildAgent agent) |
Modifier and Type | Method and Description |
---|---|
int |
AgentBuildResultsSummaryManagerImpl.countBuildResultsSummariesForAgent(BuildAgent buildAgent) |
int |
AgentResultsSummaryManager.countBuildResultsSummariesForAgent(BuildAgent buildAgent) |
int |
AgentBuildResultsSummaryManagerImpl.countFailedBuildResultsSummariesForAgent(BuildAgent buildAgent) |
int |
AgentResultsSummaryManager.countFailedBuildResultsSummariesForAgent(BuildAgent buildAgent) |
Constructor and Description |
---|
RestAgent(BuildAgent buildAgent) |
Modifier and Type | Method and Description |
---|---|
int |
AgentComparator.compare(BuildAgent first,
BuildAgent second) |
Modifier and Type | Method and Description |
---|---|
static boolean |
BuildAgentPredicates.isActive(BuildAgent agent) |
static boolean |
BuildAgentPredicates.isActiveAndEnabled(BuildAgent agent) |
static boolean |
BuildAgentPredicates.isBusy(BuildAgent agent) |
static boolean |
BuildAgentPredicates.isEnabled(BuildAgent agent) |
Modifier and Type | Method and Description |
---|---|
List<BuildAgent> |
CurrentlyBuilding.ExecutableInfo.getBuildAgents() |
Modifier and Type | Interface and Description |
---|---|
interface |
LocalBuildAgent |
Modifier and Type | Class and Description |
---|---|
class |
BuildAgentImpl |
class |
LocalBuildAgentImpl |
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 |
---|---|
int |
DefaultBuildAgent.compareTo(BuildAgent o) |
int |
BuildAgentImpl.compareTo(BuildAgent o) |
static SystemInfo |
BuildAgentFunctions.getSystemInfo(BuildAgent agent) |
static UUID |
BuildAgentFunctions.getUuid(BuildAgent agent) |
static boolean |
BuildAgentFunctions.hasSystemInfo(BuildAgent agent) |
static boolean |
BuildAgentFunctions.hasUuid(BuildAgent agent) |
static boolean |
BuildAgentFunctions.isRemote(BuildAgent agent) |
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
|
Modifier and Type | Method and Description |
---|---|
static String |
JmsSelectorUtils.getAgentsMessageProperty(Collection<BuildAgent> executableAgents)
Creates a comma separated string representing a collection of
BuildAgent . |
Modifier and Type | Method and Description |
---|---|
BuildAgent |
AgentOfflineEvent.getBuildAgent() |
Constructor and Description |
---|
AgentOfflineEvent(Object source,
BuildAgent buildAgent) |
Modifier and Type | Method and Description |
---|---|
Collection<BuildAgent> |
ExecutorCalculator.calculateExecutors(CommonContextMap.ContextWithMetadata contextWithMetadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
ExecutorCalculator.canExecute(BuildAgent agent,
CommonContextMap.ContextWithMetadata contextWithMetadata) |
void |
BuildQueueManagerImpl.invalidateExecutables(BuildAgent buildAgent) |
void |
BuildQueueManager.invalidateExecutables(BuildAgent buildAgent)
Updates all agent-executable mappings for a given agent.
|
void |
QueueOfExecutables.recalculateExecutables(BuildAgent agent)
Updates all agent-executable mappings for a given agent.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractQueueOfExecutables.recalculateExecutables(BuildAgent agent) |
Modifier and Type | Method and Description |
---|---|
Collection<BuildAgent> |
StarterAction.getBuildAgents() |
Collection<BuildAgent> |
StarterAction.getBusyBuildAgents() |
Modifier and Type | Method and Description |
---|---|
BuildAgent |
ElasticUIBean.getAgentById(long agentId) |
BuildAgent |
ElasticUIBeanImpl.getAgentById(long agentId) |
BuildAgent |
ViewElasticInstanceAction.getBuildAgent() |
Modifier and Type | Class and Description |
---|---|
class |
BuildAgentDecorator |
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<BuildAgent,BuildAgentDecorator> |
BuildAgentDecorator.toDecorator |
Modifier and Type | Method and Description |
---|---|
BuildAgent |
ViewAgentDetailsAction.getBuildAgent() |
Modifier and Type | Method and Description |
---|---|
int |
BuildAgentDecorator.compareTo(BuildAgent buildAgent) |
Constructor and Description |
---|
AgentAssignmentExecutorDetails(BuildAgent agent,
boolean capabilitiesMatch) |
BuildAgentDecorator(BuildAgent buildAgent) |
Modifier and Type | Method and Description |
---|---|
List<BuildAgent> |
DescribeAgentAvailability.sortMatchingAgents(Collection<BuildAgent> matchingAgents) |
Modifier and Type | Method and Description |
---|---|
List<BuildAgent> |
DescribeAgentAvailability.sortMatchingAgents(Collection<BuildAgent> matchingAgents) |
Modifier and Type | Method and Description |
---|---|
BuildAgent |
ViewChainResult.getAgent(Long agentId) |
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.