Uses of Interface
com.atlassian.bamboo.v2.build.agent.BuildAgent
Package
Description
-
Uses of BuildAgent in com.atlassian.bamboo.build
Modifier and TypeMethodDescription@Nullable BuildAgent
BuildResultsAction.getAgent
(@Nullable CurrentlyBuilding currentlyBuilding) @Nullable BuildAgent
BuildResultsAction.getAgent
(BuildResultsSummary summary) @Nullable BuildAgent
ViewBuild.getAgent
(@NotNull CurrentlyBuilding currentlyBuilding) Modifier and TypeMethodDescriptionBuildResultsAction.getExecutableAgents()
ChainResultsAction.getExecutableAgents()
Modifier and TypeMethodDescriptionvoid
DefaultStopBuildManager.stopAgentNicely
(@NotNull BuildAgent buildAgent) void
StopBuildManager.stopAgentNicely
(@NotNull BuildAgent buildAgent) Will tell an agent to stop after it's finished the current buildModifier and TypeMethodDescriptionvoid
BuildExecutionManager.setCurrentlyBuilding
(@NotNull BuildContext buildContext, @NotNull Collection<BuildAgent> executableAgents, @NotNull Collection<ElasticImageConfiguration> executableImages) Denotes that the passed build context is beginning the build process.@NotNull CurrentlyBuilding
CurrentlyBuildingContainer.setCurrentlyBuilding
(@NotNull BuildContext buildContext, @NotNull CurrentlyBuilding currentlyBuilding, Collection<BuildAgent> executableAgents, Collection<ElasticImageConfiguration> executableImages) void
DefaultBuildExecutionManager.setCurrentlyBuilding
(@NotNull BuildContext buildContext, @NotNull Collection<BuildAgent> executableAgents, @NotNull Collection<ElasticImageConfiguration> executableImages) Denotes that the passed build context is beginning the build process. -
Uses of BuildAgent in com.atlassian.bamboo.buildqueue.manager
Modifier and TypeMethodDescription@Nullable BuildAgent
AgentManager.getAgent
(long agentId) @Nullable BuildAgent
AgentManagerImpl.getAgent
(long agentId) AgentStateCache.getAgent
(long agentId) @NotNull BuildAgent
AgentStateCache.updateAgentInCache
(PipelineDefinition definition) Modifier and TypeMethodDescription@NotNull Predicate<BuildAgent>
AgentAssignmentMap.createAssignmentFilterFor
(@NotNull Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables) @NotNull Predicate<BuildAgent>
AgentAssignmentMapImpl.createAssignmentFilterFor
(@NotNull Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables) @NotNull Collection<BuildAgent>
AgentManager.getActiveAndEnabledAgents()
Returns agents that are enabled and online@NotNull Collection<BuildAgent>
AgentManagerImpl.getActiveAndEnabledAgents()
AgentStateCache.getActiveAndEnabledAgents()
@NotNull List<BuildAgent>
AgentManager.getAllAgents()
@NotNull List<BuildAgent>
AgentManagerImpl.getAllAgents()
AgentStateCache.getAllAgents()
@NotNull List<BuildAgent>
AgentManager.getAllNonElasticAgents()
@NotNull List<BuildAgent>
AgentManagerImpl.getAllNonElasticAgents()
@NotNull List<BuildAgent>
AgentManager.getAllRemoteAgents()
Gets all remote agents in the system.@NotNull List<BuildAgent>
AgentManager.getAllRemoteAgents
(boolean onlineOnly) Get remote agents.@NotNull List<BuildAgent>
AgentManagerImpl.getAllRemoteAgents()
@NotNull List<BuildAgent>
AgentManagerImpl.getAllRemoteAgents
(boolean onlineOnly) AgentStateCache.getAllRemoteAgents
(boolean onlineOnly) @NotNull List<BuildAgent>
AgentManager.getAllStandardAgents()
@NotNull List<BuildAgent>
AgentManagerImpl.getAllStandardAgents()
AgentStateCache.getAllStandardAgents()
@NotNull SortedSet<BuildAgent>
ExecutableAgentsMatrix.getBuildAgents()
Get a set of agents that match ALL requirements.@NotNull Collection<BuildAgent>
ExecutableAgentsMatrix.getBuildAgents
(@NotNull String requirementKey) @NotNull SortedSet<BuildAgent>
ExecutableAgentsMatrixImpl.getBuildAgents()
@NotNull Collection<BuildAgent>
ExecutableAgentsMatrixImpl.getBuildAgents
(@NotNull String key) @NotNull Collection<BuildAgent>
AgentManager.getBusyBuildAgents()
Gets a collection agents that are currently building or cancelling a build@NotNull Collection<BuildAgent>
AgentManagerImpl.getBusyBuildAgents()
AgentStateCache.getBusyBuildAgents()
@NotNull SortedSet<BuildAgent>
ExecutableAgentsMatrix.getDedicatedNonMatchingBuildAgents()
@NotNull SortedSet<BuildAgent>
ExecutableAgentsMatrixImpl.getDedicatedNonMatchingBuildAgents()
@NotNull Collection<BuildAgent>
AgentManager.getElasticActiveAndEnabledAgents()
Returns elastic agents that are enabled and online@NotNull Collection<BuildAgent>
AgentManagerImpl.getElasticActiveAndEnabledAgents()
AgentStateCache.getElasticActiveAndEnabledAgents()
@NotNull Optional<BuildAgent>
AgentManager.getEphemeralAgentByPodName
(@NotNull String podName) Returns aBuildAgent
by given pod name (if exists).@NotNull Optional<BuildAgent>
AgentManagerImpl.getEphemeralAgentByPodName
(@NotNull String podName) AgentStateCache.getNonElasticAgents()
@NotNull List<BuildAgent>
AgentManager.getOnlineElasticAgents()
Retrieve all online elastic build agents.@NotNull List<BuildAgent>
AgentManagerImpl.getOnlineElasticAgents()
AgentStateCache.getOnlineElasticAgents()
@NotNull Collection<BuildAgent>
ExecutableAgentsMatrix.getOnlineEnabledBuildAgents()
Get a set of agents that match ALL requirements AND are currently enabled and online.@NotNull Collection<BuildAgent>
ExecutableAgentsMatrixImpl.getOnlineEnabledBuildAgents()
AgentStateCache.getOnlineEphemeralAgents()
@NotNull Collection<BuildAgent>
AgentManager.getRemoteActiveAndEnabledAgents()
Returns remote agents that are enabled and online@NotNull Collection<BuildAgent>
AgentManagerImpl.getRemoteActiveAndEnabledAgents()
AgentStateCache.getRemoteActiveAndEnabledAgents()
AgentManager.setAgentEnabled
(long agentId, boolean enable) AgentManagerImpl.setAgentEnabled
(long agentId, boolean enable) Modifier and TypeMethodDescriptionvoid
AgentManager.abandonBuild
(@NotNull BuildAgent remoteAgent, boolean agentStartingUp) void
AgentManagerImpl.abandonBuild
(@NotNull BuildAgent remoteAgent, boolean agentStartingUp) void
ExecutableAgentsMatrix.addBuildAgent
(@NotNull BuildAgent buildAgent) Record an agent matching ALL requirementsvoid
ExecutableAgentsMatrixImpl.addBuildAgent
(@NotNull BuildAgent buildAgent) void
ExecutableAgentsMatrix.addDedicatedNonMatchingBuildAgent
(@NotNull BuildAgent buildAgent) Record build agent dedicated to the job/plan/project but not satisfying all requirementsvoid
ExecutableAgentsMatrixImpl.addDedicatedNonMatchingBuildAgent
(@NotNull BuildAgent buildAgent) AgentAssignmentServiceHelper.asExecutors
(BuildAgent agent) AgentAssignmentServiceHelper.asExecutors
(BuildAgent agent, boolean directAssignmentsOnly) boolean
AgentAssignmentService.isCapabilitiesMatch
(BuildAgent agent, long environmentid) boolean
AgentAssignmentService.isCapabilitiesMatch
(BuildAgent agent, ImmutableJob job) Helper methods to check if executor is capable of running executableboolean
AgentAssignmentServiceImpl.isCapabilitiesMatch
(BuildAgent agent, long environmentId) boolean
AgentAssignmentServiceImpl.isCapabilitiesMatch
(BuildAgent agent, ImmutableJob job) 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
AgentManagerImpl.onAgentReturning
(@NotNull BuildAgent agent) void
ExecutableAgentsMatrix.put
(@NotNull String requirementKey, @NotNull BuildAgent agent) Record an agent matching a requirement.void
ExecutableAgentsMatrixImpl.put
(@NotNull String key, @NotNull BuildAgent value) void
AgentStateCache.removeFromCache
(@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
AgentManagerImpl.stopAgent
(@NotNull BuildAgent agent) void
RemoteAgentManager.stopRemoteAgent
(@NotNull BuildAgent agent) void
RemoteAgentManagerImpl.stopRemoteAgent
(@NotNull BuildAgent agent) boolean
AgentAssignmentMapImpl.AssignmentMatchingPredicate.test
(BuildAgent buildAgent) Modifier and TypeMethodDescriptionvoid
ExecutableAgentsMatrix.addBuildAgents
(@NotNull Collection<BuildAgent> buildAgents) Record a collection of agents matching ALL requirementsvoid
ExecutableAgentsMatrixImpl.addBuildAgents
(@NotNull Collection<BuildAgent> buildAgents) -
Uses of BuildAgent in com.atlassian.bamboo.capability
Modifier and TypeMethodDescriptionstatic @Nullable CapabilitySet
CapabilitySetProvider.getAgentCapabilitySet
(BuildAgent agent) -
Uses of BuildAgent in com.atlassian.bamboo.configuration.agent
Modifier and TypeFieldDescriptionprotected BuildAgent
ConfigureAgentCapability.buildAgent
protected BuildAgent
ViewAgentDetails.buildAgent
Modifier and TypeFieldDescriptionprotected Multimap<Capability,
BuildAgent> ConfigureCapabilityKey.capabilityAgentMappingsSorted
Modifier and TypeMethodDescription@Nullable BuildAgent
@Nullable BuildAgent
ConfigureCapability.getAgentFromCapabilitySet
(@NotNull CapabilitySet capabilitySet) ConfigureAgentCapability.getBuildAgent()
ViewAgent.getBuildAgent()
ViewAgentDetails.getBuildAgent()
Modifier and TypeMethodDescriptionViewAgentPlanMatrix.getAgents()
ConfigureCapabilityKey.getCapabilityAgentMappingsSorted()
ViewAgents.getDedicatedNonMatchingAgents()
ViewAgents.getOfflineRemoteAgents()
ViewAgents.getOnlineRemoteAgents()
ViewOfflineAgents.getResultsList()
-
Uses of BuildAgent in com.atlassian.bamboo.configuration.agent.elastic
Modifier and TypeMethodDescriptionboolean
ElasticAgentOnImagePredicate.apply
(@Nullable BuildAgent agent) -
Uses of BuildAgent in com.atlassian.bamboo.deployments.environments.actions.tasks
Modifier and TypeMethodDescriptionDescribeAgentAvailability.sortMatchingAgents
(Collection<BuildAgent> matchingAgents) Modifier and TypeMethodDescriptionDescribeAgentAvailability.sortMatchingAgents
(Collection<BuildAgent> matchingAgents) -
Uses of BuildAgent in com.atlassian.bamboo.deployments.results
Modifier and TypeMethodDescription@Nullable BuildAgent
DeploymentResult.getAgent()
@Nullable BuildAgent
DeploymentResultImpl.getAgent()
-
Uses of BuildAgent in com.atlassian.bamboo.event
Modifier and TypeMethodDescriptionAgentConfigurationUpdatedEventFactory.create
(Object o, @NotNull BuildAgent buildAgent) ModifierConstructorDescriptionAgentConfigurationUpdatedEvent
(Object source, @NotNull BuildAgent buildAgent) AgentDisabledOrEnabledEvent
(Object o, @NotNull BuildAgent buildAgent) -
Uses of BuildAgent in com.atlassian.bamboo.event.agent
-
Uses of BuildAgent in com.atlassian.bamboo.logger
-
Uses of BuildAgent in com.atlassian.bamboo.plan
Modifier and TypeMethodDescription@NotNull Collection<BuildAgent>
ExecutableAgentsHelper.getExecutableAgents
(@NotNull ExecutableAgentsHelper.ExecutorQuery executorQuery) @NotNull Collection<BuildAgent>
ExecutableAgentsHelperImpl.getExecutableAgents
(@NotNull ExecutableAgentsHelper.ExecutorQuery executorQuery) Modifier and TypeMethodDescriptionboolean
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) -
Uses of BuildAgent in com.atlassian.bamboo.plugins.rest.admin.agent
-
Uses of BuildAgent in com.atlassian.bamboo.rest.model.agent
ModifierConstructorDescriptionRestAgentAssignmentExecutorDetails
(@NotNull BuildAgent agent, AgentAssignment.ExecutableType executableType, boolean capabilitiesMatch) -
Uses of BuildAgent in com.atlassian.bamboo.rest.model.deployments.results
-
Uses of BuildAgent in com.atlassian.bamboo.rest.model.plan.stage.job.requirement
-
Uses of BuildAgent in com.atlassian.bamboo.resultsummary
Modifier and TypeMethodDescriptionint
AgentBuildResultsSummaryManagerImpl.countBuildResultsSummariesForAgent
(@NotNull BuildAgent buildAgent) int
AgentResultsSummaryManager.countBuildResultsSummariesForAgent
(@NotNull BuildAgent buildAgent) int
AgentBuildResultsSummaryManagerImpl.countFailedBuildResultsSummariesForAgent
(@NotNull BuildAgent buildAgent) int
AgentResultsSummaryManager.countFailedBuildResultsSummariesForAgent
(@NotNull BuildAgent buildAgent) -
Uses of BuildAgent in com.atlassian.bamboo.testutils.backdoor.model
-
Uses of BuildAgent in com.atlassian.bamboo.util
Modifier and TypeMethodDescriptionint
AgentComparator.compare
(BuildAgent first, BuildAgent second) -
Uses of BuildAgent in com.atlassian.bamboo.utils.predicates
Modifier and TypeMethodDescriptionstatic boolean
BuildAgentPredicates.isActive
(BuildAgent agent) static boolean
BuildAgentPredicates.isActiveAndEnabled
(BuildAgent agent) static boolean
BuildAgentPredicates.isBusy
(BuildAgent agent) static boolean
BuildAgentPredicates.isEnabled
(BuildAgent agent) -
Uses of BuildAgent in com.atlassian.bamboo.v2.build.agent
Modifier and TypeMethodDescription@NotNull Collection<BuildAgent>
BuildAgentRequirementFilter.filter
(CommonContext context, Collection<BuildAgent> agents, MinimalRequirementSet requirements) Filter the given collection of agents by the requirementsModifier and TypeMethodDescriptionint
BuildAgentImpl.compareTo
(BuildAgent o) int
DefaultBuildAgent.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 TypeMethodDescription@NotNull Collection<BuildAgent>
BuildAgentRequirementFilter.filter
(CommonContext context, Collection<BuildAgent> agents, MinimalRequirementSet requirements) Filter the given collection of agents by the requirements -
Uses of BuildAgent in com.atlassian.bamboo.v2.build.events
-
Uses of BuildAgent in com.atlassian.bamboo.v2.build.queue
Modifier and TypeMethodDescription@NotNull Collection<BuildAgent>
ExecutorCalculator.calculateExecutors
(@NotNull CommonContextMap.ContextWithMetadata contextWithMetadata) @NotNull Collection<BuildAgent>
ExecutorCalculator.calculateExecutors
(@NotNull CommonContextMap.ContextWithMetadata contextWithMetadata, @NotNull Collection<ElasticImageConfiguration> executableImages, @NotNull Collection<EphemeralAgentTemplate> executableTemplates) Modifier and TypeMethodDescriptionboolean
ExecutorCalculator.canExecute
(@NotNull BuildAgent agent, @NotNull CommonContextMap.ContextWithMetadata contextWithMetadata) void
BuildQueueManager.invalidateExecutables
(@NotNull BuildAgent buildAgent) Updates all agent-executable mappings for a given agent.void
BuildQueueManagerImpl.invalidateExecutables
(@NotNull BuildAgent buildAgent) void
QueueOfExecutables.recalculateExecutables
(BuildAgent agent) Updates all agent-executable mappings for a given agent. -
Uses of BuildAgent in com.atlassian.bamboo.v2.build.queue.queues
Modifier and TypeMethodDescriptionvoid
AbstractQueueOfExecutables.recalculateExecutables
(BuildAgent agent) -
Uses of BuildAgent in com.atlassian.bamboo.webwork
Modifier and TypeMethodDescriptionStarterAction.getBuildAgents()
StarterAction.getBusyBuildAgents()
-
Uses of BuildAgent in com.atlassian.bamboo.ww2.actions.admin.elastic
Modifier and TypeMethodDescription@Nullable BuildAgent
ElasticUIBean.getAgentById
(long agentId) @Nullable BuildAgent
ElasticUIBeanImpl.getAgentById
(long agentId) ViewElasticInstanceAction.getBuildAgent()
-
Uses of BuildAgent in com.atlassian.bamboo.ww2.actions.admin.ephemeral
Modifier and TypeMethodDescription@Nullable BuildAgent
ViewEphemeralAgentPod.getAgent()
ManageEphemeralAgentsPodsAction.getAgentByPodName
(String podName) -
Uses of BuildAgent in com.atlassian.bamboo.ww2.actions.agent
Modifier and TypeFieldDescriptionstatic com.google.common.base.Function<BuildAgent,
BuildAgentDecorator> BuildAgentDecorator.toDecorator
ModifierConstructorDescriptionAgentAssignmentExecutorDetails
(BuildAgent agent, boolean capabilitiesMatch) BuildAgentDecorator
(@NotNull BuildAgent buildAgent) -
Uses of BuildAgent in com.atlassian.bamboo.ww2.actions.build.admin.config
Modifier and TypeMethodDescriptionDescribeAgentAvailability.sortMatchingAgents
(Collection<BuildAgent> matchingAgents) Modifier and TypeMethodDescriptionDescribeAgentAvailability.sortMatchingAgents
(Collection<BuildAgent> matchingAgents) -
Uses of BuildAgent in com.atlassian.bamboo.ww2.actions.chains