jetbrains.buildServer.serverSide.buildDistribution
Class DefaultAgentsFilterContext

java.lang.Object
  extended by jetbrains.buildServer.serverSide.buildDistribution.DefaultAgentsFilterContext
All Implemented Interfaces:
AgentsFilterContext

public abstract class DefaultAgentsFilterContext
extends java.lang.Object
implements AgentsFilterContext

Created with IntelliJ IDEA.

Author:
Oleg Rybak (oleg.rybak@jetbrains.com)

Constructor Summary
DefaultAgentsFilterContext()
           
DefaultAgentsFilterContext(java.util.Map<java.lang.String,java.lang.Object> customData)
           
 
Method Summary
 java.lang.Object getCustomData(java.lang.String key)
          Gets custom data, associated with specified key
 void setCustomData(java.lang.String key, java.lang.Object data)
          Sets data in the context under specified key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jetbrains.buildServer.serverSide.buildDistribution.AgentsFilterContext
getAgentsForStartingBuild, getDistributedBuilds, getDistributorInput, getStartingBuild, isEmulationMode
 

Constructor Detail

DefaultAgentsFilterContext

public DefaultAgentsFilterContext()

DefaultAgentsFilterContext

public DefaultAgentsFilterContext(@NotNull
                                  java.util.Map<java.lang.String,java.lang.Object> customData)
Method Detail

getCustomData

@Nullable
public final java.lang.Object getCustomData(@NotNull
                                                     java.lang.String key)
Description copied from interface: AgentsFilterContext
Gets custom data, associated with specified key

Specified by:
getCustomData in interface AgentsFilterContext
Parameters:
key - of the data
Returns:
object, stored under key, if there is one, null otherwise

setCustomData

public final void setCustomData(@NotNull
                                java.lang.String key,
                                @Nullable
                                java.lang.Object data)
Description copied from interface: AgentsFilterContext
Sets data in the context under specified key

Specified by:
setCustomData in interface AgentsFilterContext
Parameters:
key - key to store data unde
data - data to store