public abstract class AbstractLiveEnricher extends BaseEnricher
log| Constructor and Description |
|---|
AbstractLiveEnricher(EnricherContext buildContext,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
asBooleanFromGlobalProp(String prop) |
protected boolean |
getDefaultOnline()
Return the value to return if no online mode is explicitely specified.
|
protected String |
getExternalServiceURL(String serviceName,
String protocol)
Returns the external access to the given service name
|
protected boolean |
isOnline()
Returns true if in offline mode, "false" if not speciied.
|
protected Stack<Throwable> |
unfoldExceptions(Throwable exception)
Creates an Iterable to walk the exception from the bottom up
(the last caused by going upwards to the root exception).
|
adapt, addMissingResources, getAnnotations, getConfig, getConfig, getContext, getImages, getLabels, getLog, getName, getProject, getSelectorpublic AbstractLiveEnricher(EnricherContext buildContext, String name)
protected boolean isOnline()
protected boolean getDefaultOnline()
false.protected String getExternalServiceURL(String serviceName, String protocol)
serviceName - name of the serviceprotocol - URL protocol such as httpprotected Stack<Throwable> unfoldExceptions(Throwable exception)
exception - the exceptionIterableCopyright © 2016. All rights reserved.