Interface AgentOptions
-
public interface AgentOptions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.gradle.api.file.ConfigurableFileCollection
getAccessFilterFiles()
Access-filter files that will be passed to the agent.org.gradle.api.provider.Property<java.lang.Boolean>
getBuiltinCallerFilter()
Toggles the builtin agent caller filter.org.gradle.api.provider.Property<java.lang.Boolean>
getBuiltinHeuristicFilter()
Toggles the builtin agent heuristic filter.org.gradle.api.file.ConfigurableFileCollection
getCallerFilterFiles()
Caller-filter files that will be passed to the agent.org.gradle.api.provider.Property<java.lang.String>
getDefaultMode()
The default agent mode name when the agent is in use.org.gradle.api.provider.Property<java.lang.Boolean>
getEnabled()
Enables the agent.org.gradle.api.provider.Property<java.lang.Boolean>
getEnableExperimentalPredefinedClasses()
Toggles the experimental support for predefined classes.org.gradle.api.provider.Property<java.lang.Boolean>
getEnableExperimentalUnsafeAllocationTracing()
Toggles the experimental support for unsafe allocation tracing.org.gradle.api.provider.ListProperty<java.lang.String>
getFilterableEntries()
Specifies prefixes that will be used to further filter files produced by the agent.MetadataCopyOptions
getMetadataCopy()
Configuration of the metadata copy task.AgentModeOptions
getModes()
Contains configuration of supported agent modes.org.gradle.api.provider.Property<java.util.function.Predicate<? super org.gradle.api.Task>>
getTasksToInstrumentPredicate()
Selects tasks that should be instrumented with the agent.org.gradle.api.provider.Property<java.lang.Boolean>
getTrackReflectionMetadata()
Toggles the distinction between queried and used metadata.default void
metadataCopy(org.gradle.api.Action<? super MetadataCopyOptions> spec)
default void
modes(org.gradle.api.Action<? super AgentModeOptions> spec)
-
-
-
Method Detail
-
getModes
AgentModeOptions getModes()
Contains configuration of supported agent modes.- Returns:
- 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.- Returns:
- default agent mode
-
getEnabled
@Input @Optional org.gradle.api.provider.Property<java.lang.Boolean> getEnabled()
Enables the agent.- Returns:
- is the agent enabled
-
getCallerFilterFiles
@InputFiles @Optional org.gradle.api.file.ConfigurableFileCollection getCallerFilterFiles()
Caller-filter files that will be passed to the agent.- Returns:
- caller filter files
-
getAccessFilterFiles
@InputFiles @Optional org.gradle.api.file.ConfigurableFileCollection getAccessFilterFiles()
Access-filter files that will be passed to the agent.- Returns:
- access filter files
-
getBuiltinCallerFilter
@Optional org.gradle.api.provider.Property<java.lang.Boolean> getBuiltinCallerFilter()
Toggles the builtin agent caller filter.- Returns:
- builtin caller filter
-
getBuiltinHeuristicFilter
@Optional org.gradle.api.provider.Property<java.lang.Boolean> getBuiltinHeuristicFilter()
Toggles the builtin agent heuristic filter.- Returns:
- is builtin heuristic filter enabled
-
getEnableExperimentalPredefinedClasses
@Optional org.gradle.api.provider.Property<java.lang.Boolean> getEnableExperimentalPredefinedClasses()
Toggles the experimental support for predefined classes.- Returns:
- is experimental support for predefined classes enabled
-
getEnableExperimentalUnsafeAllocationTracing
@Optional org.gradle.api.provider.Property<java.lang.Boolean> getEnableExperimentalUnsafeAllocationTracing()
Toggles the experimental support for unsafe allocation tracing.- Returns:
- is experimental support for unsafe allocation tracing enabled
-
getTrackReflectionMetadata
@Optional org.gradle.api.provider.Property<java.lang.Boolean> getTrackReflectionMetadata()
Toggles the distinction between queried and used metadata.- Returns:
- queried or used metadata
-
getMetadataCopy
MetadataCopyOptions getMetadataCopy()
Configuration of the metadata copy task.- Returns:
- 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.- Returns:
- filterable entries
-
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.
-
-