Interface AgentConfiguration


  • public interface AgentConfiguration
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.gradle.api.provider.Property<java.lang.Boolean> getEnabled()
      Gets the value which toggles the native-image-agent usage.
      org.gradle.api.provider.Property<org.gradle.api.tasks.TaskProvider<? extends org.gradle.process.JavaForkOptions>> getInstrumentedTask()
      Configures the task which needs to be instrumented.
      org.gradle.api.provider.ListProperty<java.lang.String> getOptions()
      Gets the native agent options.
    • Method Detail

      • getEnabled

        @Input
        org.gradle.api.provider.Property<java.lang.Boolean> getEnabled()
        Gets the value which toggles the native-image-agent usage.
        Returns:
        The value which toggles the native-image-agent usage.
      • getOptions

        @Input
        @Optional
        org.gradle.api.provider.ListProperty<java.lang.String> getOptions()
        Gets the native agent options. Only used when getEnabled() is true.
        Returns:
        the native agent options.
      • getInstrumentedTask

        @Internal
        org.gradle.api.provider.Property<org.gradle.api.tasks.TaskProvider<? extends org.gradle.process.JavaForkOptions>> getInstrumentedTask()
        Configures the task which needs to be instrumented.
        Returns:
        the instrumented task.