Class 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 Detail

      • BOOTIQUE_PROPERTY_PREFIX

        public static final String BOOTIQUE_PROPERTY_PREFIX
        Prefix bq. 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.
      • basename

        public static String basename​(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.