Annotation Type EnabledIfEnvironmentVariable

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String matches
      A regular expression that will be used to match against the retrieved value of the named() environment variable.
      String named
      The name of the environment variable to retrieve.
    • Element Detail

      • named

        String named
        The name of the environment variable to retrieve.
        Returns:
        the environment variable name; never blank
        See Also:
        System.getenv(String)
      • matches

        String matches
        A regular expression that will be used to match against the retrieved value of the named() environment variable.
        Returns:
        the regular expression; never blank
        See Also:
        String.matches(String), Pattern