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 IndexNameExpressionResolver
static IndexNameExpressionResolver
newInstance
(ThreadContext threadContext) static IndexNameExpressionResolver
newInstance
(SystemIndices systemIndices)
-
Method Details
-
newInstance
- Returns:
- a new instance of a
IndexNameExpressionResolver
that has been created with a newThreadContext
and the defaultSystemIndices
instance
-
newInstance
- Returns:
- a new instance of a
IndexNameExpressionResolver
that has been created with the providedThreadContext
and the defaultSystemIndices
instance
-
newInstance
- Returns:
- a new instance of a
IndexNameExpressionResolver
that has been created with a newThreadContext
and the providedSystemIndices
instance
-