com.atlassian.bamboo.buildqueue.manager
Class ExecutableAgentsMatrixImpl
java.lang.Object
com.atlassian.bamboo.buildqueue.manager.ExecutableAgentsMatrixImpl
- All Implemented Interfaces:
- ExecutableAgentsMatrix
public class ExecutableAgentsMatrixImpl
- extends java.lang.Object
- implements ExecutableAgentsMatrix
A simple holder object that stores information about the executable agents on a per requirement basis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutableAgentsMatrixImpl
public ExecutableAgentsMatrixImpl()
put
public void put(@NotNull
java.lang.String key,
@NotNull
BuildAgent value)
- Specified by:
put
in interface ExecutableAgentsMatrix
getBuildAgents
@Nullable
public java.util.Collection<BuildAgent> getBuildAgents(@NotNull
java.lang.String key)
- Specified by:
getBuildAgents
in interface ExecutableAgentsMatrix
getBuildAgents
@NotNull
public java.util.SortedSet<BuildAgent> getBuildAgents()
- Specified by:
getBuildAgents
in interface ExecutableAgentsMatrix
getOnlineEnabledBuildAgents
public java.util.Collection<BuildAgent> getOnlineEnabledBuildAgents()
- Specified by:
getOnlineEnabledBuildAgents
in interface ExecutableAgentsMatrix
addBuildAgent
public void addBuildAgent(@NotNull
BuildAgent buildAgent)
- Specified by:
addBuildAgent
in interface ExecutableAgentsMatrix
addBuildAgents
public void addBuildAgents(@NotNull
java.util.Collection<BuildAgent> buildAgents)
- Specified by:
addBuildAgents
in interface ExecutableAgentsMatrix
getImageMatches
public java.util.List<ElasticImageConfiguration> getImageMatches()
- Specified by:
getImageMatches
in interface ExecutableAgentsMatrix
addImageMatch
public void addImageMatch(ElasticImageConfiguration imageMatch)
- Specified by:
addImageMatch
in interface ExecutableAgentsMatrix
getImageFromMatrix
public java.util.Collection<ElasticImageConfiguration> getImageFromMatrix(java.lang.String requirementKey)
- Specified by:
getImageFromMatrix
in interface ExecutableAgentsMatrix
addImageToMatrix
public void addImageToMatrix(java.lang.String requirementKey,
ElasticImageConfiguration image)
- Specified by:
addImageToMatrix
in interface ExecutableAgentsMatrix
Copyright © 2012 Atlassian. All Rights Reserved.