@ConfigurationProperties(prefix="javamelody") public class JavaMelodyConfigurationProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX
Prefix of properties names.
|
| Constructor and Description |
|---|
JavaMelodyConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getExcludedDatasources()
Returns a comma-separated list of data source names which should be excluded from monitoring.
|
Map<String,String> |
getInitParameters()
Returns a map of initialization parameters to be passed to the JavaMelody monitoring filter.
|
boolean |
isEnabled()
Returns if JavaMelody should be enabled within the application.
|
void |
setEnabled(boolean enabled)
Sets whether JavaMelody should be enabled within the application.
|
void |
setExcludedDatasources(String excludedDatasources)
Sets a comma-separated list of data source names which should be excluded from monitoring.
|
void |
setInitParameters(Map<String,String> initParameters)
Sets a map of initialization parameters to be passed to the JavaMelody monitoring filter.
|
String |
toString() |
public static final String PREFIX
public boolean isEnabled()
true if JavaMelody should be enabled, otherwise false. Default: truepublic void setEnabled(boolean enabled)
enabled - true if JavaMelody should be enabled, otherwise false.public String getExcludedDatasources()
public void setExcludedDatasources(String excludedDatasources)
excludedDatasources - Data source names to exclude from monitoring.public Map<String,String> getInitParameters()
public void setInitParameters(Map<String,String> initParameters)
initParameters - Initialization parameters for the JavaMelody monitoring filter.Copyright © 2017. All rights reserved.