Class UnifiedTestAgentPlugin.UnifiedTestExtensionConfig

java.lang.Object
io.github.mov2day.unifiedtest.UnifiedTestAgentPlugin.UnifiedTestExtensionConfig
Enclosing class:
UnifiedTestAgentPlugin

public static class UnifiedTestAgentPlugin.UnifiedTestExtensionConfig extends Object
Configuration class for UnifiedTest plugin extension. Provides configuration options for test framework selection and report generation.
  • Constructor Details

    • UnifiedTestExtensionConfig

      @Inject public UnifiedTestExtensionConfig(org.gradle.api.model.ObjectFactory objects)
      Creates a new configuration instance.
      Parameters:
      objects - the object factory for creating properties
  • Method Details

    • getFramework

      public org.gradle.api.provider.Property<String> getFramework()
      Gets the configured test framework.
      Returns:
      the test framework property
    • getTheme

      public org.gradle.api.provider.Property<String> getTheme()
      Gets the configured theme for console output.
      Returns:
      the theme property
    • getJsonEnabled

      public org.gradle.api.provider.Property<Boolean> getJsonEnabled()
      Gets whether JSON report generation is enabled.
      Returns:
      the JSON enabled property
    • getHtmlEnabled

      public org.gradle.api.provider.Property<Boolean> getHtmlEnabled()
      Gets whether HTML report generation is enabled.
      Returns:
      the HTML enabled property
    • getTelemetryEnabled

      public org.gradle.api.provider.Property<Boolean> getTelemetryEnabled()
      Gets whether OpenTelemetry export is enabled.
      Returns:
      the telemetry enabled property
    • getTelemetryEndpoint

      public org.gradle.api.provider.Property<String> getTelemetryEndpoint()
      Gets the configured OpenTelemetry endpoint.
      Returns:
      the telemetry endpoint property
    • getTelemetryServiceName

      public org.gradle.api.provider.Property<String> getTelemetryServiceName()
      Gets the configured service name for telemetry and dashboards.
      Returns:
      the service name property
    • getTelemetryTraceBaseUrl

      public org.gradle.api.provider.Property<String> getTelemetryTraceBaseUrl()
      Gets the optional trace link base URL used by the HTML report.
      Returns:
      the trace base URL property
    • getDashboardEnabled

      public org.gradle.api.provider.Property<Boolean> getDashboardEnabled()
      Gets whether dashboard generation is enabled.
      Returns:
      dashboard enabled property
    • getTelemetry

      Nested telemetry DSL: unifiedTest { telemetry { enabled = true } }.
      Returns:
      telemetry config
    • telemetry

      public void telemetry(org.gradle.api.Action<? super UnifiedTestAgentPlugin.UnifiedTestExtensionConfig.TelemetryConfig> action)
      Configures nested telemetry settings.
      Parameters:
      action - Gradle action