public static final enum

DirtiesContext.ClassMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.springframework.test.annotation.DirtiesContext.ClassMode

Class Overview

Defines modes which determine how @DirtiesContext is interpreted when used to annotate a test class.

Summary

Enum Values
DirtiesContext.ClassMode  AFTER_CLASS  The associated ApplicationContext will be marked as dirty after the test class. 
DirtiesContext.ClassMode  AFTER_EACH_TEST_METHOD  The associated ApplicationContext will be marked as dirty after each test method in the class. 
Public Methods
static DirtiesContext.ClassMode valueOf(String name)
final static ClassMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DirtiesContext.ClassMode AFTER_CLASS

The associated ApplicationContext will be marked as dirty after the test class.

public static final DirtiesContext.ClassMode AFTER_EACH_TEST_METHOD

The associated ApplicationContext will be marked as dirty after each test method in the class.

Public Methods

public static DirtiesContext.ClassMode valueOf (String name)

public static final ClassMode[] values ()