public class EngineConfigLogic extends Object
EngineConfigLogic
class is responsible for the logic of the EngineConfig tool.Constructor and Description |
---|
EngineConfigLogic(EngineConfigCLIParser parser) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes desired action.
|
ConfigKey |
fetchConfigKey(String key,
String version) |
ConfigDAO |
getConfigDAO() |
boolean |
persist(String key,
String value) |
protected boolean |
persist(String key,
String value,
String version)
Sets the given key with the given version to the given value.
|
void |
printAvailableKeys()
Prints all available configuration keys.
|
public EngineConfigLogic(EngineConfigCLIParser parser) throws Exception
Exception
public void execute() throws Exception
Exception
public void printAvailableKeys()
protected boolean persist(String key, String value, String version) throws IllegalAccessException
key
- value
- version
- IllegalAccessException
public ConfigDAO getConfigDAO()
Copyright © 2012. All Rights Reserved.