Interface AgentOptions
public interface AgentOptions
- 
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.file.ConfigurableFileCollectionAccess-filter files that will be passed to the agent.org.gradle.api.provider.Property<Boolean>Toggles the builtin agent caller filter.org.gradle.api.provider.Property<Boolean>Toggles the builtin agent heuristic filter.org.gradle.api.file.ConfigurableFileCollectionCaller-filter files that will be passed to the agent.org.gradle.api.provider.Property<String>The default agent mode name when the agent is in use.org.gradle.api.provider.Property<Boolean>Enables the agent.org.gradle.api.provider.Property<Boolean>Toggles the experimental support for predefined classes.org.gradle.api.provider.Property<Boolean>Toggles the experimental support for unsafe allocation tracing.org.gradle.api.provider.ListProperty<String>Specifies prefixes that will be used to further filter files produced by the agent.Configuration of the metadata copy task.getModes()Contains configuration of supported agent modes.org.gradle.api.provider.Property<Predicate<? super org.gradle.api.Task>>Selects tasks that should be instrumented with the agent.org.gradle.api.provider.Property<Boolean>Toggles the distinction between queried and used metadata.default voidmetadataCopy(org.gradle.api.Action<? super MetadataCopyOptions> spec) default voidmodes(org.gradle.api.Action<? super AgentModeOptions> spec)  
- 
Method Details
- 
getModes
AgentModeOptions getModes()Contains configuration of supported agent modes.- Returns:
 - agent modes
 
 - 
modes
 - 
getDefaultMode
The default agent mode name when the agent is in use.- Returns:
 - default agent mode
 
 - 
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
Toggles the builtin agent caller filter.- Returns:
 - builtin caller filter
 
 - 
getBuiltinHeuristicFilter
Toggles the builtin agent heuristic filter.- Returns:
 - is builtin heuristic filter enabled
 
 - 
getEnableExperimentalPredefinedClasses
Toggles the experimental support for predefined classes.- Returns:
 - is experimental support for predefined classes enabled
 
 - 
getEnableExperimentalUnsafeAllocationTracing
Toggles the experimental support for unsafe allocation tracing.- Returns:
 - is experimental support for unsafe allocation tracing enabled
 
 - 
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
 - 
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<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.
 
 
 -