public class WebAppsHeartbeatProvider extends java.lang.Object implements HeartBeatPayloadProviderInterface
This class is a concrete implementation of HeartBeatPayloadProviderInterface
It enables setting Web-apps Metadata to heartbeat payload.
| Constructor and Description |
|---|
WebAppsHeartbeatProvider()
Constructor that initializes fields and load environment variables
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of the heartbeat provider.
|
boolean |
isKeyword(java.lang.String keyword)
Tells if the input string is a reserved property.
|
java.util.concurrent.Callable<java.lang.Boolean> |
setDefaultPayload(java.util.List<java.lang.String> disableFields,
HeartBeatProviderInterface provider)
Returns a callable which can be executed to set the payload based on the parameters.
|
public WebAppsHeartbeatProvider()
public java.lang.String getName()
HeartBeatPayloadProviderInterfacegetName in interface HeartBeatPayloadProviderInterfacepublic boolean isKeyword(java.lang.String keyword)
HeartBeatPayloadProviderInterfaceisKeyword in interface HeartBeatPayloadProviderInterfacekeyword - string to testpublic java.util.concurrent.Callable<java.lang.Boolean> setDefaultPayload(java.util.List<java.lang.String> disableFields,
HeartBeatProviderInterface provider)
HeartBeatPayloadProviderInterfacesetDefaultPayload in interface HeartBeatPayloadProviderInterfacedisableFields - List of Properties to be excluded from payloadprovider - The current heartbeat provider