Class LazyValueResolver
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.LazyValueResolver
-
- All Implemented Interfaces:
ValueResolver
public class LazyValueResolver extends Object implements ValueResolver
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLazyValueResolver.ValueResolverFactory
-
Constructor Summary
Constructors Constructor Description LazyValueResolver(LazyValueResolver.ValueResolverFactory factory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisValuesNeededResolving()static booleanneedsResolving(String val)ProcessingResultresolve(String value)Map<String,String>resolve(Map<String,String> unresolved)Resolves values of the map at once.Map<String,ProcessingResult>resolveWithDetails(Map<String,String> unresolved)Resolves values of the map, returns result with resolving details.
-
-
-
Constructor Detail
-
LazyValueResolver
public LazyValueResolver(@NotNull LazyValueResolver.ValueResolverFactory factory)
-
-
Method Detail
-
resolve
@NotNull public ProcessingResult resolve(@NotNull String value)
- Specified by:
resolvein interfaceValueResolver- Parameters:
value- value to be resolved- Returns:
- the processing result
-
resolve
@NotNull public Map<String,String> resolve(@NotNull Map<String,String> unresolved)
Description copied from interface:ValueResolverResolves values of the map at once. Note: if map contains a parameter with null value then this parameter won't be returned in the resulting map.- Specified by:
resolvein interfaceValueResolver- Parameters:
unresolved- map whose values to resolve- Returns:
- map with resolved values
-
resolveWithDetails
@NotNull public Map<String,ProcessingResult> resolveWithDetails(@NotNull Map<String,String> unresolved)
Description copied from interface:ValueResolverResolves values of the map, returns result with resolving details. Note: if map contains a parameter with null value then this parameter won't be returned in the resulting map.- Specified by:
resolveWithDetailsin interfaceValueResolver- Parameters:
unresolved- map whose values to resolve- Returns:
- map with resolved values
-
needsResolving
public static boolean needsResolving(@NotNull String val)
-
isValuesNeededResolving
public boolean isValuesNeededResolving()
-
-