Class TaskInputsSummary_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.gradle.TaskInputsSummary_1_0
-
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@GradleVersion(since="4.0") @PluginVersion(since="1.8", until="2.0") public class TaskInputsSummary_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
AnEventData
describing the task inputs participating in incremental build and task output caching.An event stream will contain one
TaskInputsSummary_1_0
event per task that is:- executed
- not skipped
- with at least a
TaskAction
- See Also:
- incremental build, build cache
-
-
Field Summary
Fields Modifier and Type Field Description List<String>
actionClassLoaderHashes
The hashes of the classloaders that loaded the task's actions.List<String>
actionClassNames
The class names of the task's actions.@Nullable String
buildCacheKey
The computed build cache key corresponding to all of the task's inputs.@Nullable String
classLoaderHash
The hash of the classloader that loaded the task implementation.Map<String,String>
inputHashes
The hashes of the task input properties.List<String>
outputPropertyNames
The names of the task output properties.long
task
The id of the related task.
-
-
-
Field Detail
-
task
public final long task
The id of the related task.
-
classLoaderHash
@Nullable public final @Nullable String classLoaderHash
The hash of the classloader that loaded the task implementation.May be null when the classloader was not created by Gradle.
-
actionClassLoaderHashes
public final List<String> actionClassLoaderHashes
The hashes of the classloaders that loaded the task's actions.The hashes are ordered by sequential order of the task actions.
May contain null values for classloaders that were not created by Gradle.
-
actionClassNames
public final List<String> actionClassNames
The class names of the task's actions.The class names are ordered by sequential order of the task actions.
May contain duplicates.
-
inputHashes
public final Map<String,String> inputHashes
The hashes of the task input properties.The keys are the property names, the values are the hash string representation. The hashes are ordered lexicographically, and do not contain null keys or values.
-
outputPropertyNames
public final List<String> outputPropertyNames
The names of the task output properties.The names are ordered lexicographically, and do not contain duplicate values.
-
buildCacheKey
@Nullable public final @Nullable String buildCacheKey
The computed build cache key corresponding to all of the task's inputs. Note that a build cache key is computed even if the corresponding task is not cacheable.May be null when the computed cache key is invalid (either because
classLoaderHash
is null oractionClassLoaderHashes
contains at least a null element), or when the task had no outputs.
-
-