APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.management.internal

pack-priv Class DiagnosticCommandInfo

extends Object
Class Inheritance
Imports
java.util.List

Diagnostic command information. It contains the description of a diagnostic command.
Since
1.8

Field Summary

Modifier and TypeField and Description
private final List<DiagnosticCommandArgumentInfo>
private final String
private final boolean
private final String
private final String

Constructor Summary

AccessConstructor and Description
pack-priv
DiagnosticCommandInfo(String name, String description, String impact, boolean enabled, List<DiagnosticCommandArgumentInfo> arguments)

Method Summary

Modifier and TypeMethod and Description
pack-priv List<DiagnosticCommandArgumentInfo>

Returns:

a list of the diagnostic command arguments description
getArgumentsInfo
()

Returns the list of the diagnostic command arguments description.

pack-priv String

Returns:

the diagnostic command description
getDescription
()

Returns the diagnostic command description.

pack-priv String

Returns:

the potential impact of the diagnostic command execution on the Java virtual machine behavior
getImpact
()

Returns the potential impact of the diagnostic command execution on the Java virtual machine behavior.

pack-priv String

Returns:

the diagnostic command name
getName
()

Returns the diagnostic command name.

pack-priv boolean

Returns:

true if the diagnostic command is enabled, false otherwise
isEnabled
()

Returns true if the diagnostic command is enabled, false otherwise.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

argumentsback to summary
private final List<DiagnosticCommandArgumentInfo> arguments
descriptionback to summary
private final String description
enabledback to summary
private final boolean enabled
impactback to summary
private final String impact
nameback to summary
private final String name

Constructor Detail

DiagnosticCommandInfoback to summary
pack-priv DiagnosticCommandInfo(String name, String description, String impact, boolean enabled, List<DiagnosticCommandArgumentInfo> arguments)

Method Detail

getArgumentsInfoback to summary
pack-priv List<DiagnosticCommandArgumentInfo> getArgumentsInfo()

Returns the list of the diagnostic command arguments description. If the diagnostic command has no arguments, it returns an empty list.

Returns:List<DiagnosticCommandArgumentInfo>

a list of the diagnostic command arguments description

getDescriptionback to summary
pack-priv String getDescription()

Returns the diagnostic command description.

Returns:String

the diagnostic command description

getImpactback to summary
pack-priv String getImpact()

Returns the potential impact of the diagnostic command execution on the Java virtual machine behavior.

Returns:String

the potential impact of the diagnostic command execution on the Java virtual machine behavior

getNameback to summary
pack-priv String getName()

Returns the diagnostic command name.

Returns:String

the diagnostic command name

isEnabledback to summary
pack-priv boolean isEnabled()

Returns true if the diagnostic command is enabled, false otherwise. The enabled/disabled status of a diagnostic command can evolve during the lifetime of the Java virtual machine.

Returns:boolean

true if the diagnostic command is enabled, false otherwise