@ThreadSafe
@Service(value={io.fabric8.api.PlaceholderResolver.class,VersionPropertyPointerResolver.class})
@Properties(value=@Property(name="scheme",value="version"))
public final class VersionPropertyPointerResolver
extends io.fabric8.api.scr.AbstractComponent
implements io.fabric8.api.PlaceholderResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOLVER_SCHEME |
static String |
VERSION_POSTFIX |
static String |
VERSION_PREFIX |
static String |
VERSIONS_PID |
| Constructor and Description |
|---|
VersionPropertyPointerResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
getScheme() |
static String |
replaceVersions(io.fabric8.api.FabricService fabricService,
Map<String,Map<String,String>> configs,
String value)
Lets replace any other instances of ${version:key} with the value
|
String |
resolve(io.fabric8.api.FabricService fabricService,
Map<String,Map<String,String>> configs,
String pid,
String key,
String value) |
public static final String RESOLVER_SCHEME
public static final String VERSIONS_PID
public static final String VERSION_PREFIX
public static final String VERSION_POSTFIX
public static String replaceVersions(io.fabric8.api.FabricService fabricService, Map<String,Map<String,String>> configs, String value)
public String getScheme()
getScheme in interface io.fabric8.api.PlaceholderResolverCopyright © 2011–2014 Red Hat. All rights reserved.