Interface Translator

  • All Known Implementing Classes:
    AttributeResolverHelper, VariableResolver

    public interface Translator
    Used to perform string pre-processing on values found in the configuration file.

    This hook allows applications to support variable expansions like Ant in the configuration file.

    Author:
    Kohsuke Kawaguchi
    • Field Detail

      • SYS_PROP_TR

        static final Translator SYS_PROP_TR
        A translator that does translation from the system properties. Thus, any reference to an existing System Property like "${name}" will be replaced by its value, i.e. System.getProperty("name"). All found references are translated. If a System Property is not defined, its reference is returned verbatim. No escape sequences are handled.