Class TaskInputsSnapshottingResult_1_0

java.lang.Object
com.gradle.scan.eventmodel.gradle.taskinputs.TaskInputsSnapshottingResult_1_0

@GradleVersion(since="4.0") @PluginVersion(since="3.13") public class TaskInputsSnapshottingResult_1_0 extends Object
Provides the hashes of task inputs.

All byte[] values are 16 bytes long.

See Also:
  • Field Details

    • hash

      @Nullable("when an overall hash could not be calculated (e.g. the implementation of the task was loaded by an unmanaged classloader)") public final @com.gradle.nullability.Nullable("when an overall hash could not be calculated (e.g. the implementation of the task was loaded by an unmanaged classloader)") byte[] hash
      The overall hash of the inputs.

      This is also used as the build cache key.

    • implementation

      public final long implementation
      The TaskInputsImplementation_1_0.id value corresponding to the event that provides the hash of the task implementation.
    • propertyNames

      public final long propertyNames
      The TaskInputsPropertyNames_1_0.id value corresponding to the event that provides the names of the task's properties.
    • valueInputs

      public final long valueInputs
      The TaskInputsValueProperties_1_0.id value corresponding to the event that provides the hashes of the task's value input properties.
    • fileInputs

      @Nullable("when the task does not have any file input properties") public final @Nullable("when the task does not have any file input properties") List<Long> fileInputs
      The TaskInputsFileProperty_1_0.id values corresponding to the events that provide the hashes of the task's file input properties.

      The list corresponds to the associated TaskInputsPropertyNames_1_0.fileInputs. That is, the first entry in this list is the corresponding value for the first entry in the that list.

  • Constructor Details

    • TaskInputsSnapshottingResult_1_0

      public TaskInputsSnapshottingResult_1_0(@Nullable @com.gradle.nullability.Nullable byte[] hash, long implementation, long propertyNames, long valueInputs, @Nullable @Nullable List<Long> fileInputs)
  • Method Details