T
- The type of extended schema field contexts. Should generally extend IndexSchemaFieldContext
.public interface IndexSchemaFieldContextExtension<T>
WARNING: while this type is API, because instances should be manipulated by users,
all of its methods are considered SPIs and therefore should never be called or implemented directly by users.
In short, users are only expected to get instances of this type from an API (SomeExtension.get()
)
and pass it to another API.
Modifier and Type | Method and Description |
---|---|
T |
extendOrFail(IndexSchemaFieldContext original)
Attempt to extend a given context, throwing an exception in case of failure.
|
T extendOrFail(IndexSchemaFieldContext original)
WARNING: this method is not API, see comments at the type level.
original
- The original, non-extended IndexSchemaFieldContext
.T
)Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.