public class InstanceConfigurationUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static WauzCore |
core
A direct reference to the main class.
|
Constructor and Description |
---|
InstanceConfigurationUtils() |
Modifier and Type | Method and Description |
---|---|
protected static java.util.List<java.lang.String> |
getInstanceNameList()
Finds all instance names by iterating through all instance configs.
|
protected static int |
instanceConfigGetInt(java.lang.String instance,
java.lang.String path)
Gets an int from an instance config.
|
protected static java.lang.String |
instanceConfigGetString(java.lang.String instance,
java.lang.String path)
Gets a string from an instance config.
|
protected static java.util.List<java.lang.String> |
instanceConfigGetStringList(java.lang.String instance,
java.lang.String path)
Gets a string list from an instance config.
|
private static WauzCore core
protected static java.util.List<java.lang.String> getInstanceNameList()
protected static java.lang.String instanceConfigGetString(java.lang.String instance, java.lang.String path)
instance
- The name of the instance config file.path
- The key path of the value to get.protected static java.util.List<java.lang.String> instanceConfigGetStringList(java.lang.String instance, java.lang.String path)
instance
- The name of the instance config file.path
- The key path of the value to get.protected static int instanceConfigGetInt(java.lang.String instance, java.lang.String path)
instance
- The name of the instance config file.path
- The key path of the value to get.