jetbrains.buildServer.parameters.impl
Class CompositeResolver

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

public class CompositeResolver
extends java.lang.Object
implements ParameterResolver

Resolver that will try to apply any of the stored resolvers. The result will contain value that is modified by a single resolver at most.

isFullyResolved of the result is true only if all the resolvers report the value as fully resolved.

Author:
Yegor.Yarko

Constructor Summary
CompositeResolver()
           
 
Method Summary
 void append(ParameterResolver resolver)
           
 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

CompositeResolver

public CompositeResolver()
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:
CompositeResolver

append

public void append(ParameterResolver resolver)