Package org.keycloak.it.junit5.extension
Enum DistributionTest.ReInstall
- java.lang.Object
-
- java.lang.Enum<DistributionTest.ReInstall>
-
- org.keycloak.it.junit5.extension.DistributionTest.ReInstall
-
- All Implemented Interfaces:
Serializable,Comparable<DistributionTest.ReInstall>
- Enclosing class:
- DistributionTest
public static enum DistributionTest.ReInstall extends Enum<DistributionTest.ReInstall>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEFORE_ALLInstall the distribution only once before running a test class.BEFORE_TESTRe-install the distribution before running a test method.NEVERDoes not reset the distribution such as removing data, providers, and conf directories.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DistributionTest.ReInstallvalueOf(String name)Returns the enum constant of this type with the specified name.static DistributionTest.ReInstall[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE_ALL
public static final DistributionTest.ReInstall BEFORE_ALL
Install the distribution only once before running a test class.
-
BEFORE_TEST
public static final DistributionTest.ReInstall BEFORE_TEST
Re-install the distribution before running a test method.
-
NEVER
public static final DistributionTest.ReInstall NEVER
Does not reset the distribution such as removing data, providers, and conf directories.
-
-
Method Detail
-
values
public static DistributionTest.ReInstall[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DistributionTest.ReInstall c : DistributionTest.ReInstall.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DistributionTest.ReInstall valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-