public class WebMergedContextConfiguration extends MergedContextConfiguration
| Constructor and Description |
|---|
WebMergedContextConfiguration(java.lang.Class<?> testClass,
java.lang.String[] locations,
java.lang.Class<?>[] classes,
java.util.Set<java.lang.Class<? extends ApplicationContextInitializer<? extends ConfigurableApplicationContext>>> contextInitializerClasses,
java.lang.String[] activeProfiles,
java.lang.String resourceBasePath,
ContextLoader contextLoader)
TODO [SPR-9864] Document WebMergedContextConfiguration constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Determine if the supplied object is equal to this
WebMergedContextConfiguration
instance by comparing both object's locations,
annotated classes,
context initializer classes,
active profiles,
resource base path, and the fully
qualified names of their ContextLoaders. |
java.lang.String |
getResourceBasePath()
TODO [SPR-9864] Document getResourceBasePath().
|
int |
hashCode()
Generate a unique hash code for all properties of this
WebMergedContextConfiguration excluding the
test class. |
java.lang.String |
toString()
Provide a String representation of the test class,
locations, annotated classes,
context initializer classes,
active profiles,
resource base path, and the name of the
ContextLoader. |
getActiveProfiles, getClasses, getContextInitializerClasses, getContextLoader, getLocations, getTestClass, nullSafeToStringpublic WebMergedContextConfiguration(java.lang.Class<?> testClass,
java.lang.String[] locations,
java.lang.Class<?>[] classes,
java.util.Set<java.lang.Class<? extends ApplicationContextInitializer<? extends ConfigurableApplicationContext>>> contextInitializerClasses,
java.lang.String[] activeProfiles,
java.lang.String resourceBasePath,
ContextLoader contextLoader)
public java.lang.String getResourceBasePath()
public int hashCode()
WebMergedContextConfiguration excluding the
test class.hashCode in class MergedContextConfigurationpublic boolean equals(java.lang.Object obj)
WebMergedContextConfiguration
instance by comparing both object's locations,
annotated classes,
context initializer classes,
active profiles,
resource base path, and the fully
qualified names of their ContextLoaders.equals in class MergedContextConfigurationpublic java.lang.String toString()
ContextLoader.toString in class MergedContextConfiguration