jetbrains.buildServer.parameters.impl
Class ChainResolver

java.lang.Object
  extended by jetbrains.buildServer.parameters.impl.ChainResolver
All Implemented Interfaces:
ParameterResolver

public class ChainResolver
extends java.lang.Object
implements ParameterResolver

Resolver that uses following resolvers only after the value was fully resolved by their predecessors. In this case a value resolved by one resolver will be fed to the next one within the same resolve call. isFullyResolved of the result is true only if all the resolvers report the value as fully resolved.

Author:
Yegor.Yarko Date: 03.08.2008

Constructor Summary
ChainResolver()
           
 
Method Summary
 void append(ParameterResolver processor)
           
 ProcessingResult resolve(java.lang.String key, java.lang.String value, ParametersProvider parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainResolver

public ChainResolver()
Method Detail

resolve

@NotNull
public ProcessingResult resolve(@NotNull
                                        java.lang.String key,
                                        @NotNull
                                        java.lang.String value,
                                        @NotNull
                                        ParametersProvider parameters)
Specified by:
resolve in interface ParameterResolver
Parameters:
key - name of the value (for the resolvers that depend on the name)
value - value to be resolved
parameters - parameters to be used during resolution
Returns:
isFullyResolved of the result is true only if all the resolvers report the value as fully resolved
See Also:
ChainResolver

append

public void append(ParameterResolver processor)