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 |
---|---|
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 |
AgentManagerImpl.getAgent(long agentId) |
BuildAgent |
AgentStateCache.getAgent(long agentId) |
BuildAgent |
AgentManager.getAgent(long agentId) |
BuildAgent |
AgentStateCache.updateAgentInCache(PipelineDefinition definition) |
Modifier and Type | Method and Description |
---|---|
Collection<BuildAgent> |
AgentManagerImpl.getActiveAndEnabledAgents() |
Collection<BuildAgent> |
AgentStateCache.getActiveAndEnabledAgents() |
Collection<BuildAgent> |
AgentManager.getActiveAndEnabledAgents()
Returns agents that are enabled and online
|
List<BuildAgent> |
AgentManagerImpl.getAllAgents() |
List<BuildAgent> |
AgentStateCache.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> |
AgentManagerImpl.getAllRemoteAgents(boolean onlineOnly) |
List<BuildAgent> |
AgentStateCache.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> |
AgentManagerImpl.getBusyBuildAgents() |
Collection<BuildAgent> |
AgentStateCache.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() |
List<BuildAgent> |
AgentStateCache.getNonElasticAgents() |
List<BuildAgent> |
AgentManagerImpl.getOnlineElasticAgents() |
List<BuildAgent> |
AgentStateCache.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.
|
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 |
ConfigureAgentCapability.buildAgent |
protected BuildAgent |
ViewAgentDetails.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 |
ConfigureAgentCapability.getBuildAgent() |
BuildAgent |
ViewAgentDetails.getBuildAgent() |
BuildAgent |
ViewAgent.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) |
Constructor and Description |
---|
RestAgent(BuildAgent buildAgent,
String link) |
Constructor and Description |
---|
RestAgentAssignmentExecutorDetails(BuildAgent agent,
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 |
BuildResultsSummaryManagerImpl.countBuildResultsSummariesForAgent(BuildAgent buildAgent) |
int |
AgentResultsSummaryManager.countBuildResultsSummariesForAgent(BuildAgent buildAgent) |
int |
BuildResultsSummaryManager.countBuildResultsSummariesForAgent(BuildAgent buildAgent)
Deprecated.
|
int |
AgentBuildResultsSummaryManagerImpl.countFailedBuildResultsSummariesForAgent(BuildAgent buildAgent) |
int |
BuildResultsSummaryManagerImpl.countFailedBuildResultsSummariesForAgent(BuildAgent buildAgent) |
int |
AgentResultsSummaryManager.countFailedBuildResultsSummariesForAgent(BuildAgent buildAgent) |
int |
BuildResultsSummaryManager.countFailedBuildResultsSummariesForAgent(BuildAgent buildAgent)
Deprecated.
|
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 com.google.common.base.Predicate<BuildAgent> |
BambooPredicates.buildAgentIsActive()
Deprecated.
since 5.10, use method reference to
BuildAgentPredicates.isActive(BuildAgent) |
static com.google.common.base.Predicate<BuildAgent> |
BambooPredicates.buildAgentIsActiveAndEnabled()
Deprecated.
since 5.10, use method reference to
BuildAgentPredicates.isActiveAndEnabled(BuildAgent) |
static com.google.common.base.Predicate<BuildAgent> |
BambooPredicates.buildAgentIsBusy()
Deprecated.
since 5.10, use method reference to
BuildAgentPredicates.isBusy(BuildAgent) |
static com.google.common.base.Predicate<BuildAgent> |
BambooPredicates.buildAgentIsEnabled()
Deprecated.
since 5.10, use method reference to
BuildAgentPredicates.isEnabled(BuildAgent) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<BuildAgent> |
BuildAgentPredicates.isActive()
Deprecated.
since 5.10, use method reference to
BuildAgentPredicates.isActive(BuildAgent) |
static com.google.common.base.Predicate<BuildAgent> |
BuildAgentPredicates.isActiveAndEnabled()
Deprecated.
since 5.10, use method reference to
BuildAgentPredicates.isActiveAndEnabled(BuildAgent) |
static com.google.common.base.Predicate<BuildAgent> |
BuildAgentPredicates.isBusy()
Deprecated.
since 5.10, use method reference to
BuildAgentPredicates.isBusy(BuildAgent) |
static com.google.common.base.Predicate<BuildAgent> |
BuildAgentPredicates.isEnabled()
Deprecated.
since 5.10, use method reference to
BuildAgentPredicates.isEnabled(BuildAgent) |
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> |
CurrentlyBuildingImpl.ExecutableInfoImpl.getBuildAgents() |
List<BuildAgent> |
CurrentlyBuilding.ExecutableInfo.getBuildAgents() |
Collection<BuildAgent> |
CurrentlyBuildingImpl.getExecutableBuildAgents() |
Collection<BuildAgent> |
CurrentlyBuilding.getExecutableBuildAgents()
Get the list of executable agents for this build.
|
Constructor and Description |
---|
ExecutableInfoImpl(Iterable<BuildAgent> agents,
Iterable<ElasticImageConfiguration> images) |
XStreamCurrentlyBuildingPersisterImpl(com.thoughtworks.xstream.XStream xStream,
Supplier<File> stateDirectorySupplier,
Function<Long,BuildAgent> resolveAgentId,
ElasticImageConfigurationAccessor elasticImageConfigurationAccessor) |
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) |
Constructor and Description |
---|
AbstractQueueOfExecutables(com.google.common.base.Function<CommonContext,com.google.common.base.Optional<Collection<BuildAgent>>> executorCalculator,
CommonContextMap map) |
OffloadingQueueOfExecutables(com.google.common.base.Function<CommonContext,com.google.common.base.Optional<Collection<BuildAgent>>> executorCalculator,
CommonContextPersister commonContextPersister) |
SimpleQueueOfExecutables(com.google.common.base.Function<CommonContext,com.google.common.base.Optional<Collection<BuildAgent>>> executorCalculator) |
Modifier and Type | Method and Description |
---|---|
Collection<BuildAgent> |
StarterAction.getBuildAgents() |
Collection<BuildAgent> |
StarterAction.getBusyBuildAgents() |
Modifier and Type | Method and Description |
---|---|
BuildAgent |
ElasticUIBeanImpl.getAgentById(long agentId) |
BuildAgent |
ElasticUIBean.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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.