- java.lang.Object
- 
- jdk.management.jfr.ConfigurationInfo
 
- 
 public final class ConfigurationInfo extends Object Management representation of aConfiguration.- Since:
- 9
- See Also:
- Configuration
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurationInfofrom(CompositeData cd)Returns aConfigurationInfoobject represented by the specifiedCompositeData.StringgetContents()Returns the textual representation of the configuration associated with thisConfigurationInfo, typically the contents of the configuration file that was used to create the configuration.StringgetDescription()Returns a short sentence that describes the configuration associated with thisConfigurationInfo(for example,"Low overhead configuration safe for continuous use in production environments".StringgetLabel()Returns the human-readable name (for example,"Continuous"or"Profiling") for the configuration associated with thisConfigurationInfoStringgetName()Returns the name of the configuration associated with thisConfigurationInfo(for example,"default").StringgetProvider()Returns the provider of the configuration associated with thisConfigurationInfo(for example,"OpenJDK").Map<String,String>getSettings()Returns the settings for the configuration associated with thisConfigurationInfo.StringtoString()Returns a description of the configuration that is associated with thisConfigurationInfo.
 
- 
- 
- 
Method Detail- 
getProviderpublic String getProvider() Returns the provider of the configuration associated with thisConfigurationInfo(for example,"OpenJDK").- Returns:
- the provider, or nullif doesn't exist
- See Also:
- Configuration.getProvider()
 
 - 
getContentspublic String getContents() Returns the textual representation of the configuration associated with thisConfigurationInfo, typically the contents of the configuration file that was used to create the configuration.- Returns:
- contents, or nullif doesn't exist
- See Also:
- Configuration.getContents()
 
 - 
getSettingspublic Map<String,String> getSettings() Returns the settings for the configuration associated with thisConfigurationInfo.- Returns:
- a Mapwith settings, notnull
- See Also:
- Configuration.getSettings()
 
 - 
getLabelpublic String getLabel() Returns the human-readable name (for example,"Continuous"or"Profiling") for the configuration associated with thisConfigurationInfo- Returns:
- the label, or nullif doesn't exist
- See Also:
- Configuration.getLabel()
 
 - 
getNamepublic String getName() Returns the name of the configuration associated with thisConfigurationInfo(for example,"default").- Returns:
- the name, or nullif doesn't exist
- See Also:
- Configuration.getLabel()
 
 - 
getDescriptionpublic String getDescription() Returns a short sentence that describes the configuration associated with thisConfigurationInfo(for example,"Low overhead configuration safe for continuous use in production environments".- Returns:
- the description, or nullif doesn't exist
 
 - 
frompublic static ConfigurationInfo from(CompositeData cd) Returns aConfigurationInfoobject represented by the specifiedCompositeData.The following table shows the required attributes that the specified CompositeDatamust contain.Required names and types for CompositeData Name Type name Stringlabel Stringdescription Stringprovider Stringcontents Stringsettings javax.management.openmbean.TabularDatawith aTabularTypewith the keys"key"and"value", both of theStringtype- Parameters:
- cd-- CompositeDatarepresenting a- ConfigurationInfo
- Returns:
- a ConfigurationInfoobject represented bycdifcdis notnull,nullotherwise
- Throws:
- IllegalArgumentException- if- cddoes not represent a- ConfigurationInfowith the required attributes
 
 
- 
 
-