Class ParametersInOutList

  extended by jetbrains.buildServer.parameters.impl.ParametersInOutList

public class ParametersInOutList
extends java.lang.Object

List of ParametersInOuts with utility methods. User: Yegor.Yarko Date: 06.06.2008

Constructor Summary
Method Summary
 void addParameters(ParametersInOut parametersInOut)
 void resolveParameters(ParameterResolver resolver, java.lang.String resultName)
          Resolves parameters using supplied resolver.
 java.lang.String toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public ParametersInOutList()
Method Detail


public void addParameters(@NotNull
                          ParametersInOut parametersInOut)


public void resolveParameters(@NotNull
                              ParameterResolver resolver,
                              java.lang.String resultName)
Resolves parameters using supplied resolver.

A parameter is resolved by the supplied resolver using already resolved parameters of parametersList as a dictionary.

All parameters that can be fully resolved (processor reports they as fully resolved), are moved into corresponding fully resolved set in the parametersList. All parameters that can be only partly resolved are moved into corresponding fully resolved set in the parametersList in the maximum possible resolved form.

The resolution process ensures that no more unresolved parameter from the parametersList can be resolved. The parameters that cannot be resolved (e.g. unknown reference or a loop) are left in the original maps in the maximum possible resolved form.

If several elements of parametersList have the same unresolved parameter, the precedence is undefined.

resolver - the resolver to use in the resolution process.


public java.lang.String toString()
toString in class java.lang.Object