com.atlassian.bamboo.build
Class CurrentlyBuildingContainer
java.lang.Object
com.atlassian.bamboo.build.CurrentlyBuildingContainer
@ThreadSafe
public class CurrentlyBuildingContainer
- extends java.lang.Object
A classs that allows thread safe maps of CurrentlyBuilding
objects keyed by plan key and buildAgentId
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurrentlyBuildingContainer
public CurrentlyBuildingContainer()
getCurrentlyBuilding
public CurrentlyBuilding getCurrentlyBuilding(java.lang.String planKey)
getCurrentlyBuilding
public CurrentlyBuilding getCurrentlyBuilding(java.lang.Long agentId)
setCurrentlyBuilding
public void setCurrentlyBuilding(@NotNull
java.lang.String planKey,
@NotNull
CurrentlyBuilding currentlyBuilding)
startBuildingOnAgent
public CurrentlyBuilding startBuildingOnAgent(@NotNull
java.lang.String planKey,
@NotNull
java.lang.Long agentId)
removeCurrentlyBuilding
@Nullable
public CurrentlyBuilding removeCurrentlyBuilding(@NotNull
java.lang.String planKey)
Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.