Class AbstractParametersProvider
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.AbstractParametersProvider
-
- All Implemented Interfaces:
InternalParameters,ReadOnlyUserParameters
- Direct Known Subclasses:
AbstractParametersCollection,BuildPromotionParameterCollection,BuildPromotionParameters
public abstract class AbstractParametersProvider extends Object implements ReadOnlyUserParameters, InternalParameters
Created by Eugene Petrenko (eugene.petrenko@gmail.com) Date: 06.02.12 13:17
-
-
Field Summary
Fields Modifier and Type Field Description static Filter<Parameter>ACCEPT_ALL_FILTERstatic Filter<Parameter>BUILD_PARAM_FILTERstatic Filter<Parameter>CONFIG_PARAM_FILTER
-
Constructor Summary
Constructors Constructor Description AbstractParametersProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>convertParameters(Collection<Parameter> parameters, Filter<Parameter> paramsFilter)Map<String,String>getBuildParameters()Map<String,String>getConfigParameters()Map<String,String>getParameters()Returns map of build and configuration parameters.abstract Collection<Parameter>getParametersCollection()Returns build and configuration parameters in single collection.abstract StringgetParameterValue(String paramName)-
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.InternalParameters
getBooleanInternalParameter, getBooleanInternalParameterOrTrue, getInternalParameterValue
-
Methods inherited from interface jetbrains.buildServer.serverSide.ReadOnlyUserParameters
getParameter
-
-
-
-
Method Detail
-
getParametersCollection
@NotNull public abstract Collection<Parameter> getParametersCollection()
Description copied from interface:ReadOnlyUserParametersReturns build and configuration parameters in single collection.- Specified by:
getParametersCollectionin interfaceReadOnlyUserParameters- Returns:
- see above
-
getParameterValue
@Nullable public abstract String getParameterValue(@NotNull String paramName)
- Specified by:
getParameterValuein interfaceReadOnlyUserParameters- Parameters:
paramName- parameter name- Returns:
- value of the parameter with given name or null if there is no such parameter
-
getParameters
@NotNull public Map<String,String> getParameters()
Description copied from interface:ReadOnlyUserParametersReturns map of build and configuration parameters.- Specified by:
getParametersin interfaceReadOnlyUserParameters- Returns:
- build and configuration parameters map
-
-