Interface AgentOptions


  • public interface AgentOptions
    • Method Detail

      • getModes

        AgentModeOptions getModes()
        Contains configuration of supported agent modes.
      • modes

        default void modes​(org.gradle.api.Action<? super AgentModeOptions> spec)
      • getDefaultMode

        @Input
        @Optional
        org.gradle.api.provider.Property<java.lang.String> getDefaultMode()
        The default agent mode name when the agent is in use.
      • getEnabled

        @Input
        @Optional
        org.gradle.api.provider.Property<java.lang.Boolean> getEnabled()
        Enables the agent.
      • getCallerFilterFiles

        @InputFiles
        @Optional
        org.gradle.api.file.ConfigurableFileCollection getCallerFilterFiles()
        Caller-filter files that will be passed to the agent.
      • getAccessFilterFiles

        @InputFiles
        @Optional
        org.gradle.api.file.ConfigurableFileCollection getAccessFilterFiles()
        Access-filter files that will be passed to the agent.
      • getBuiltinCallerFilter

        @Optional
        org.gradle.api.provider.Property<java.lang.Boolean> getBuiltinCallerFilter()
        Toggles the builtin agent caller filter.
      • getBuiltinHeuristicFilter

        @Optional
        org.gradle.api.provider.Property<java.lang.Boolean> getBuiltinHeuristicFilter()
        Toggles the builtin agent heuristic filter.
      • getEnableExperimentalPredefinedClasses

        @Optional
        org.gradle.api.provider.Property<java.lang.Boolean> getEnableExperimentalPredefinedClasses()
        Toggles the experimental support for predefined classes.
      • getEnableExperimentalUnsafeAllocationTracing

        @Optional
        org.gradle.api.provider.Property<java.lang.Boolean> getEnableExperimentalUnsafeAllocationTracing()
        Toggles the experimental support for unsafe allocation tracing.
      • getTrackReflectionMetadata

        @Optional
        org.gradle.api.provider.Property<java.lang.Boolean> getTrackReflectionMetadata()
        Toggles the distinction between queried and used metadata.
      • getMetadataCopy

        MetadataCopyOptions getMetadataCopy()
        Configuration of the metadata copy task.
      • metadataCopy

        default void metadataCopy​(org.gradle.api.Action<? super MetadataCopyOptions> spec)
      • getFilterableEntries

        @Input
        @Optional
        org.gradle.api.provider.ListProperty<java.lang.String> getFilterableEntries()
        Specifies prefixes that will be used to further filter files produced by the agent.
      • getTasksToInstrumentPredicate

        @Internal
        org.gradle.api.provider.Property<java.util.function.Predicate<? super org.gradle.api.Task>> getTasksToInstrumentPredicate()
        Selects tasks that should be instrumented with the agent.
        Returns:
        Task predicate that accepts tasks during task configuration.