Enum Class TestElementSpi

java.lang.Object
java.lang.Enum<TestElementSpi>
dev.getelements.elements.sdk.test.TestElementSpi
All Implemented Interfaces:
Serializable, Comparable<TestElementSpi>, Constable

public enum TestElementSpi extends Enum<TestElementSpi>
Enumerates the SPI (Service Provider Interface) types used in testing elements. Each SPI type corresponds to a set of artifacts that can be loaded for testing purposes.
  • Enum Constant Details

    • BASE

      public static final TestElementSpi BASE
      The base SPI type, which includes the core SDK SPI artifact.
    • GUICE_7_0_X

      public static final TestElementSpi GUICE_7_0_X
      The SPI type that uses Guice for dependency injection.
  • Method Details

    • values

      public static TestElementSpi[] 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 TestElementSpi 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
    • getBase

      public Path getBase()
      Gets the base path for this SPI type. This is the directory where the artifacts for this SPI type are located.
      Returns:
      the base path