public abstract class CLIDefinitionBase extends Object implements IDefinition
Modifier and Type | Field and Description |
---|---|
protected ResourceBundle |
rb |
Constructor and Description |
---|
CLIDefinitionBase(String definitionClass)
Constructs an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
String |
getLogName()
Returns log name.
|
SubCommand |
getSubCommand(String name)
Returns sub command object.
|
List |
getSubCommands()
Returns a list of sub commands.
|
void |
init(Locale locale)
Initializes the definition class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProductName, isAuthOption
protected ResourceBundle rb
public CLIDefinitionBase(String definitionClass) throws CLIException
definitionClass
- Definition class name.CLIException
public void init(Locale locale) throws CLIException
init
in interface IDefinition
locale
- Locale of the request.CLIException
- if command definition cannot initialized.public List getSubCommands()
getSubCommands
in interface IDefinition
public String getLogName()
getLogName
in interface IDefinition
public SubCommand getSubCommand(String name)
getSubCommand
in interface IDefinition
name
- Name of sub command.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.