Package org.elasticsearch.indices
Class TestIndexNameExpressionResolver
java.lang.Object
org.elasticsearch.indices.TestIndexNameExpressionResolver
A utility class that simplifies the creation of
IndexNameExpressionResolver instances in tests to avoid repetition of
creating the constructor arguments for a default instance.-
Method Summary
Modifier and TypeMethodDescriptionstatic IndexNameExpressionResolverstatic IndexNameExpressionResolvernewInstance(ThreadContext threadContext) static IndexNameExpressionResolvernewInstance(SystemIndices systemIndices)
-
Method Details
-
newInstance
- Returns:
- a new instance of a
IndexNameExpressionResolverthat has been created with a newThreadContextand the defaultSystemIndicesinstance
-
newInstance
- Returns:
- a new instance of a
IndexNameExpressionResolverthat has been created with the providedThreadContextand the defaultSystemIndicesinstance
-
newInstance
- Returns:
- a new instance of a
IndexNameExpressionResolverthat has been created with a newThreadContextand the providedSystemIndicesinstance
-