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 interface
LazyValueResolver.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 boolean
isValuesNeededResolving()
static boolean
needsResolving(String val)
ProcessingResult
resolve(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:
resolve
in 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:ValueResolver
Resolves 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:
resolve
in 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:ValueResolver
Resolves 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:
resolveWithDetails
in 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()
-
-