| Modifier and Type | Method and Description |
|---|---|
@Nullable BuildAgent |
BuildResultsAction.getAgent(BuildResultsSummary summary) |
@Nullable BuildAgent |
ViewBuild.getAgent(@NotNull CurrentlyBuilding currentlyBuilding) |
@Nullable BuildAgent |
BuildResultsAction.getAgent(@Nullable 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(@NotNull BuildAgent buildAgent) |
void |
StopBuildManager.stopAgentNicely(@NotNull BuildAgent buildAgent)
Will tell an agent to stop after it's finished the current build
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull CurrentlyBuilding |
CurrentlyBuildingContainer.setCurrentlyBuilding(@NotNull BuildContext buildContext,
@NotNull CurrentlyBuilding currentlyBuilding,
Collection<BuildAgent> executableAgents,
Collection<ElasticImageConfiguration> executableImages) |
| Modifier and Type | Method and Description |
|---|---|
BuildAgent |
AgentStateCache.getAgent(long agentId) |
@Nullable BuildAgent |
AgentManagerImpl.getAgent(long agentId) |
@Nullable BuildAgent |
AgentManager.getAgent(long agentId) |
@NotNull BuildAgent |
AgentStateCache.updateAgentInCache(PipelineDefinition definition) |
| Modifier and Type | Method and Description |
|---|---|
Collection<BuildAgent> |
AgentStateCache.getActiveAndEnabledAgents() |
List<BuildAgent> |
AgentStateCache.getAllAgents() |
List<BuildAgent> |
AgentStateCache.getAllRemoteAgents(boolean onlineOnly) |
Collection<BuildAgent> |
AgentStateCache.getBusyBuildAgents() |
Collection<BuildAgent> |
AgentStateCache.getElasticActiveAndEnabledAgents() |
List<BuildAgent> |
AgentStateCache.getNonElasticAgents() |
List<BuildAgent> |
AgentStateCache.getOnlineElasticAgents() |
Collection<BuildAgent> |
AgentStateCache.getRemoteActiveAndEnabledAgents() |
| Modifier and Type | Method and Description |
|---|---|
void |
AgentManagerImpl.abandonBuild(@NotNull BuildAgent remoteAgent,
boolean agentStartingUp) |
void |
AgentManager.abandonBuild(@NotNull BuildAgent remoteAgent,
boolean agentStartingUp) |
void |
ExecutableAgentsMatrixImpl.addBuildAgent(@NotNull BuildAgent buildAgent) |
void |
ExecutableAgentsMatrix.addBuildAgent(@NotNull BuildAgent buildAgent)
Record an agent matching ALL requirements
|
void |
ExecutableAgentsMatrixImpl.addDedicatedNonMatchingBuildAgent(@NotNull BuildAgent buildAgent) |
void |
ExecutableAgentsMatrix.addDedicatedNonMatchingBuildAgent(@NotNull 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 |
AgentManagerImpl.onAgentReturning(@NotNull BuildAgent agent) |
void |
AgentManager.onAgentReturning(@NotNull BuildAgent agent)
Performs any other operations required when an agent goes offline, such as updating the status and shutdown
time.
|
void |
ExecutableAgentsMatrixImpl.put(@NotNull String key,
@NotNull BuildAgent value) |
void |
ExecutableAgentsMatrix.put(@NotNull String requirementKey,
@NotNull BuildAgent agent)
Record an agent matching a requirement.
|
void |
AgentStateCache.removeFromCache(@NotNull BuildAgent agent) |
void |
AgentManagerImpl.stopAgent(@NotNull BuildAgent agent) |
void |
AgentManager.stopAgent(@NotNull BuildAgent agent)
Performs any other operations required when an agent goes offline, such as updating the status and shutdown
time.
|
void |
RemoteAgentManagerImpl.stopRemoteAgent(@NotNull BuildAgent agent) |
void |
RemoteAgentManager.stopRemoteAgent(@NotNull BuildAgent agent) |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable 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 |
|---|---|
@Nullable BuildAgent |
ConfigureCapabilityKey.getAgent(Long id) |
@Nullable BuildAgent |
ConfigureCapability.getAgentFromCapabilitySet(@NotNull 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(@Nullable 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 |
|---|---|
@Nullable BuildAgent |
DeploymentResultImpl.getAgent() |
@Nullable BuildAgent |
DeploymentResult.getAgent() |
| Modifier and Type | Method and Description |
|---|---|
Object |
AgentConfigurationUpdatedEventFactory.create(Object o,
@NotNull BuildAgent buildAgent) |
| Constructor and Description |
|---|
AgentConfigurationUpdatedEvent(Object source,
@NotNull BuildAgent buildAgent) |
AgentDisabledOrEnabledEvent(Object o,
@NotNull BuildAgent buildAgent) |
| Modifier and Type | Field and Description |
|---|---|
protected BuildAgent |
AgentEvent.buildAgent |
| Modifier and Type | Method and Description |
|---|---|
@NotNull 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 |
|---|---|
boolean |
ExecutableAgentsHelper.canExecute(@NotNull BuildAgent buildAgent,
@NotNull CommonContext context,
@NotNull 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.
|
boolean |
ExecutableAgentsHelperImpl.canExecute(@NotNull BuildAgent buildAgent,
@NotNull CommonContext context,
@NotNull ImmutableRequirementSet requirements) |
| 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(@NotNull BuildAgent buildAgent) |
int |
AgentResultsSummaryManager.countBuildResultsSummariesForAgent(@NotNull BuildAgent buildAgent) |
int |
AgentBuildResultsSummaryManagerImpl.countFailedBuildResultsSummariesForAgent(@NotNull BuildAgent buildAgent) |
int |
AgentResultsSummaryManager.countFailedBuildResultsSummariesForAgent(@NotNull BuildAgent buildAgent) |
| Constructor and Description |
|---|
RestAgent(@NotNull 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 | Interface and Description |
|---|---|
interface |
LocalBuildAgent |
| Modifier and Type | Class and Description |
|---|---|
class |
BuildAgentImpl |
class |
LocalBuildAgentImpl |
| Modifier and Type | Method and Description |
|---|---|
int |
DefaultBuildAgent.compareTo(BuildAgent o) |
int |
BuildAgentImpl.compareTo(BuildAgent o) |
static @Nullable SystemInfo |
BuildAgentFunctions.getSystemInfo(BuildAgent agent) |
static @Nullable 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 |
|---|---|
@NotNull 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 |
|---|---|
boolean |
ExecutorCalculator.canExecute(@NotNull BuildAgent agent,
@NotNull CommonContextMap.ContextWithMetadata contextWithMetadata) |
void |
BuildQueueManagerImpl.invalidateExecutables(@NotNull BuildAgent buildAgent) |
void |
BuildQueueManager.invalidateExecutables(@NotNull 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 |
|---|---|
@Nullable BuildAgent |
ElasticUIBean.getAgentById(long agentId) |
@Nullable 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(@NotNull 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 |
|---|---|
@Nullable BuildAgent |
ViewChainResult.getAgent(@Nullable Long agentId) |
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.