@Configuration @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 |
---|---|
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 |
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: true
public void setEnabled(boolean enabled)
enabled
- true
if JavaMelody should be enabled, otherwise false
.public Map<String,String> getInitParameters()
public void setInitParameters(Map<String,String> initParameters)
initParameters
- Initialization parameters for the JavaMelody monitoring filter.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.