Class Configuration

java.lang.Object
com.vaadin.extension.conf.Configuration

public class Configuration extends Object
Provides the effective configuration for the Vaadin observability extension. Initialized by ConfigurationDefaults from the agent classloader during auto-configuration, before any instrumentation is applied.
  • Constructor Details

    • Configuration

      public Configuration()
  • Method Details

    • isEnabled

      public static boolean isEnabled(TraceLevel traceLevel)
      Checks whether a trace level is enabled. Can be used by instrumentations to check whether some detail should be added to a trace or not.
      Parameters:
      traceLevel - the trace level to check
      Returns:
      true if the trace level is enabled, false if not
    • getProperty

      public static String getProperty(String key)
      Looks up a configuration property by key.
      Parameters:
      key - the property key
      Returns:
      the property value, or null if not set