public class CommandBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<com.epam.admintool.builder.CommandBuilder.MapKey,Class<?>> |
classCommandCash |
Modifier and Type | Method and Description |
---|---|
Command |
buildCommand(String commandName,
String externalPackage)
Creates the command instance.
|
static Class<?> |
getCommandClass(String nameOfPackage,
String className)
Returns class by short name.
|
static CommandBuilder |
getInstance() |
public static CommandBuilder getInstance()
public Command buildCommand(String commandName, String externalPackage)
commandName
- the command nameexternalPackage
- the package where command situatedCopyright © 2000–2022 EPAM Systems. All rights reserved.