Class TransformExecutionFinished_1_0

java.lang.Object
com.gradle.scan.eventmodel.gradle.TransformExecutionFinished_1_0
All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
Direct Known Subclasses:
TransformExecutionFinished_1_1

@GradleVersion(since="8.3") @PluginVersion(since="3.16", until="3.16") public class TransformExecutionFinished_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
Indicates that an artifact transform execution has finished.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final @Nullable("when the transform execution is cacheable") String
    The detailed explanation why the output of the transform execution was not cacheable.
    final @Nullable("when the transform execution is cacheable") String
    The reason why the output of the transform execution was not cacheable.
    final @Nullable("when the transform execution failed in an unexpected way") List<String>
    A list of messages describing the first few reasons encountered that caused the transform execution to be executed.
    final @Nullable("when the transform execution is successful") Long
    The failure ID in case of a failed transform.
    final long
    The ID of the transform execution.
    final @Nullable("when the transform execution is not UP_TO_DATE or FROM_CACHE") String
    The ID of the build invocation that produced the outputs being reused, if the transform execution was UP_TO_DATE or FROM_CACHE.
    final @Nullable("when no original execution time is available") Long
    How long it took to execute the original transform execution that produced the reused outputs.
    The outcome of the transform execution.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TransformExecutionFinished_1_0(long id, @Nullable Long failureId, TransformExecutionOutcome_1 outcome, @Nullable List<String> executionReasons, @Nullable String cachingDisabledReasonCategory, @Nullable String cachingDisabledExplanation, @Nullable String originBuildInvocationId, @Nullable Long originExecutionTime)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • id

      public final long id
      The ID of the transform execution. References TransformExecutionStarted_1_0.id.
    • failureId

      @Nullable("when the transform execution is successful") public final @Nullable("when the transform execution is successful") Long failureId
      The failure ID in case of a failed transform.

      Corresponds to a key in ExceptionData_1_0.exceptions. Note that a transform execution failure can be part of a lenient resolved configuration, and therefore not cause a build failure.

    • outcome

      public final TransformExecutionOutcome_1 outcome
      The outcome of the transform execution.
    • executionReasons

      @Nullable("when the transform execution failed in an unexpected way") public final @Nullable("when the transform execution failed in an unexpected way") List<String> executionReasons
      A list of messages describing the first few reasons encountered that caused the transform execution to be executed. An empty list means the transform execution was up-to-date and hasn't been executed.
    • cachingDisabledReasonCategory

      @Nullable("when the transform execution is cacheable") public final @Nullable("when the transform execution is cacheable") String cachingDisabledReasonCategory
      The reason why the output of the transform execution was not cacheable.
    • cachingDisabledExplanation

      @Nullable("when the transform execution is cacheable") public final @Nullable("when the transform execution is cacheable") String cachingDisabledExplanation
      The detailed explanation why the output of the transform execution was not cacheable.
    • originBuildInvocationId

      @Nullable("when the transform execution is not UP_TO_DATE or FROM_CACHE") public final @Nullable("when the transform execution is not UP_TO_DATE or FROM_CACHE") String originBuildInvocationId
      The ID of the build invocation that produced the outputs being reused, if the transform execution was UP_TO_DATE or FROM_CACHE.
    • originExecutionTime

      @Nullable("when no original execution time is available") public final @Nullable("when no original execution time is available") Long originExecutionTime
      How long it took to execute the original transform execution that produced the reused outputs.
  • Constructor Details

    • TransformExecutionFinished_1_0

      public TransformExecutionFinished_1_0(long id, @Nullable @Nullable Long failureId, TransformExecutionOutcome_1 outcome, @Nullable @Nullable List<String> executionReasons, @Nullable @Nullable String cachingDisabledReasonCategory, @Nullable @Nullable String cachingDisabledExplanation, @Nullable @Nullable String originBuildInvocationId, @Nullable @Nullable Long originExecutionTime)
  • Method Details