Class VariableNames
- java.lang.Object
-
- org.arakhne.afc.bootique.variables.VariableNames
-
public final class VariableNames extends Object
Constants and utilities for variable naming.- Since:
- 15.0
- Version:
- 17.0 2020-01-04 14:41:57
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.bootique
- Maven Artifact Id:
- bootique-variables
-
-
Field Summary
Fields Modifier and Type Field Description static String
BOOTIQUE_PROPERTY_PREFIX
Prefixbq.
for properties.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
basename(String bootiqueVariable)
Replies the name of an property that corresponds to the name of a bootique variable.static String
toEnvironmentVariableName(String bootiqueVariable)
Replies the name of an environment variable that corresponds to the name of a bootique variable.static String
toPropertyName(String bootiqueVariable)
Replies the name of an property that corresponds to the name of a bootique variable.
-
-
-
Field Detail
-
BOOTIQUE_PROPERTY_PREFIX
public static final String BOOTIQUE_PROPERTY_PREFIX
Prefixbq.
for properties.- See Also:
- Constant Field Values
-
-
Method Detail
-
toPropertyName
public static String toPropertyName(String bootiqueVariable)
Replies the name of an property that corresponds to the name of a bootique variable.- Parameters:
bootiqueVariable
- the name of the bootique variable.- Returns:
- the name of the property.
-
toEnvironmentVariableName
public static String toEnvironmentVariableName(String bootiqueVariable)
Replies the name of an environment variable that corresponds to the name of a bootique variable.- Parameters:
bootiqueVariable
- the name of the bootique variable.- Returns:
- the name of the environment variable.
-
-