- getByValue(String) - Method in class ru.windcorp.turretlang.TLConfiguration
-
Returns a List
of all the variables with the specified value.
- getDeclaration() - Method in exception ru.windcorp.turretlang.saveable.TLSaveableException
-
- getDeclaration() - Method in class ru.windcorp.turretlang.TLVariable
-
Gets the original declaration of the variable.
- getFailed() - Method in class ru.windcorp.turretlang.TLConfiguration
-
Returns the number of lines failed to load during the last reload of the configuration.
- getName() - Method in class ru.windcorp.turretlang.TLVariable
-
Gets the name of the variable.
- getSource() - Method in class ru.windcorp.turretlang.TLConfiguration
-
Returns the absolute File
that is the source of this configuration.
- getValue(String) - Method in class ru.windcorp.turretlang.TLConfiguration
-
Returns the String representation of the value of the variable by the specified name, ignoring case.
- getValue(String, String) - Method in class ru.windcorp.turretlang.TLConfiguration
-
Returns the String representation of the value of the variable by the specified name, ignoring case.
- getValue() - Method in class ru.windcorp.turretlang.TLVariable
-
Gets the original value of the variable as a String
.
- getValueAsArray() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the variable as a String array, splitting it with ';'.
- getValueAsBoolean() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the variable value as a boolean.
- getValueAsBooleanOrDefault(boolean) - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the variable value as a boolean.
- getValueAsByte() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the variable value as a byte.
- getValueAsByteOrDefault(byte) - Method in class ru.windcorp.turretlang.TLVariable
-
- getValueAsChar() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the first character of the value.
- getValueAsCharOrDefault(char) - Method in class ru.windcorp.turretlang.TLVariable
-
- getValueAsCreatedFile(String) - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the file by the path represented by the value.
- getValueAsDouble() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the variable value as a double.
- getValueAsDoubleOrDefault(double) - Method in class ru.windcorp.turretlang.TLVariable
-
- getValueAsExistingFile(boolean) - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the file by the path represented by the value only if it exists, otherwise null.
- getValueAsFile(boolean) - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the file by the path represented by the value.
- getValueAsFile() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the file by the path represented by the value.
- getValueAsFloat() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the variable value as a float.
- getValueAsFloatOrDefault(float) - Method in class ru.windcorp.turretlang.TLVariable
-
- getValueAsInt() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the variable value as an int.
- getValueAsIntOrDefault(int) - Method in class ru.windcorp.turretlang.TLVariable
-
- getValueAsLong() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the variable value as a long.
- getValueAsLongOrDefault(long) - Method in class ru.windcorp.turretlang.TLVariable
-
- getValueAsMap() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the map represented by the value following this syntax:
"key0@val0;key1@val1" will result in a map with two keys: "key0" and "key1" and two corresponding values "val0" and "val1".
- getValueAsMapOrDefault(Map<String, String>) - Method in class ru.windcorp.turretlang.TLVariable
-
- getValueAsObject() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the value as an Object.
- getValueAsObjectOrDefault(Object, boolean) - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the value as an Object.
- getValueAsObjectOrDefault(Object) - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the value as an Object.
- getValueAsShort() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the variable value as a short.
- getValueAsShortOrDefault(short) - Method in class ru.windcorp.turretlang.TLVariable
-
- getValueAsTrueBoolean() - Method in class ru.windcorp.turretlang.TLVariable
-
- getValueWithChatColors() - Method in class ru.windcorp.turretlang.TLVariable
-
Returns the value as a formatted Minecraft message, replacing '&' by a paragraph sign were it marks a chat color.
- getVariable(String) - Method in class ru.windcorp.turretlang.TLConfiguration
-
Returns a
TLVariable
by the specified name, ignoring case.
- getVariable(String, TLVariable) - Method in class ru.windcorp.turretlang.TLConfiguration
-
Returns a
TLVariable
by the specified name, ignoring case.
- getVariableName(String) - Static method in class ru.windcorp.turretlang.TurretLang
-
Gets the variable name provided in the declaration.
- getVariableValue(String) - Static method in class ru.windcorp.turretlang.TurretLang
-
Gets the variable value provided in the declaration.