Annotation Type DisabledIfEnvironmentVariable

    • 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.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String disabledReason
      Reason to provide if the test of container ends up being disabled.
    • 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
      • disabledReason

        String disabledReason
        Reason to provide if the test of container ends up being disabled.
        Default:
        ""