Class 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 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