@Cli(name="domain",
description="Display or set current selected domain. ",
note="With a parameter, parameter defined domain is selected, otherwise it displays current selected domain. eg. domain java.lang")
public class DomainCommand
extends Command
| Constructor and Description |
|---|
DomainCommand() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
doSuggestArgument()
Provide a list of possible arguments for auto completion.
|
void |
execute()
Execute command
|
void |
setDomain(String domain) |
doSuggestOption, getSession, isHelp, setHelp, setSession, suggestArgument, suggestOptionpublic List<String> doSuggestArgument() throws IOException
CommanddoSuggestArgument in class CommandIOException - IO errorspublic void execute()
throws IOException
Commandexecute in class CommandIOException - IO errors@Argument(displayName="domain",
description="Name of domain to set")
public final void setDomain(String domain)
domain - Domain to selectCopyright © 2008–2019. All rights reserved.