jetbrains.buildServer.parameters
Interface ContextVariables

All Known Subinterfaces:
MapContextVariables
All Known Implementing Classes:
DynamicContextVariables, HidingContextVariables, MapContextVariablesImpl

public interface ContextVariables

A provider of named objects

Author:
Yegor.Yarko Date: 23.08.2008

Method Summary
 java.lang.Object get(java.lang.String name)
           
 java.util.Map<java.lang.String,java.lang.Object> getAll()
           
 int size()
          Returns the number of variables in this variables provider.
 

Method Detail

get

@Nullable
java.lang.Object get(@NotNull
                              java.lang.String name)
Parameters:
name - the name of the variable
Returns:
the variable stored or null is the variable with the name cannot be found.

size

int size()
Returns the number of variables in this variables provider. This is the size of the map returned by getAll method.


getAll

@NotNull
java.util.Map<java.lang.String,java.lang.Object> getAll()
Returns:
a copy of all the variables available through this provider