Enum Class VerificationType

java.lang.Object
java.lang.Enum<VerificationType>
org.openrewrite.gradle.attributes.VerificationType
All Implemented Interfaces:
Serializable, Comparable<VerificationType>, Constable, org.openrewrite.maven.attributes.Attribute

public enum VerificationType extends Enum<VerificationType> implements org.openrewrite.maven.attributes.Attribute
Attribute to be used on variants containing the output verification checks verification checks (Test data, Jacoco results, etc) which specify the type of verification data. This attribute is usually found on variants that have the Category attribute valued at Category.VERIFICATION.
  • Enum Constant Details

    • JACOCO_RESULTS

      public static final VerificationType JACOCO_RESULTS
      Binary test coverage data gathered by JaCoCo
    • MAIN_SOURCES

      public static final VerificationType MAIN_SOURCES
      A list of directories containing source code, includes code in transitive dependencies
    • TEST_RESULTS

      public static final VerificationType TEST_RESULTS
      Binary results of running tests containing pass/fail information
  • Method Details

    • values

      public static VerificationType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VerificationType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • key

      public static String key()
    • from

      public static @Nullable VerificationType from(@Nullable String verificationType)