@Cli(name="info",
description="Display detail information about an MBean",
note="If -b option is not specified, current selected MBean is applied")
public class InfoCommand
extends Command
| Constructor and Description |
|---|
InfoCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute command
|
void |
setBean(String bean) |
void |
setDomain(String domain)
Given domain
|
void |
setOperation(String operation) |
void |
setShowDescription(boolean showDescription) |
void |
setType(String type) |
doSuggestArgument, doSuggestOption, getSession, isHelp, setHelp, setSession, suggestArgument, suggestOptionpublic void execute()
throws IOException,
JMException
Commandexecute in class CommandIOException - IO errorsJMException - JMX errors@Option(name="b",
longName="bean",
description="Name of MBean")
public final void setBean(String bean)
bean - Bean for which information is displayed@Option(name="d",
longName="domain",
description="Domain for bean")
public final void setDomain(String domain)
domain - Domain name@Option(name="e",
longName="detail",
description="Show description")
public final void setShowDescription(boolean showDescription)
showDescription - True to show detail description@Option(name="t",
longName="type",
description="Types(a|o|u) to display, for example aon for all attributes, operations and notifications")
public void setType(String type)
type - Type of detail to display@Option(name="o",
longName="op",
description="Show a single operation with more details (including parameters information)")
public void setOperation(String operation)
Copyright © 2008–2020. All rights reserved.