com.atlassian.bamboo.build
Class CurrentlyBuildingContainer

java.lang.Object
  extended by 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


Constructor Summary
CurrentlyBuildingContainer()
           
 
Method Summary
 CurrentlyBuilding getCurrentlyBuilding(java.lang.Long agentId)
           
 CurrentlyBuilding getCurrentlyBuilding(java.lang.String planKey)
           
 CurrentlyBuilding removeCurrentlyBuilding(java.lang.String planKey)
           
 void setCurrentlyBuilding(java.lang.String planKey, CurrentlyBuilding currentlyBuilding)
           
 CurrentlyBuilding startBuildingOnAgent(java.lang.String planKey, java.lang.Long agentId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentlyBuildingContainer

public CurrentlyBuildingContainer()
Method Detail

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.