public EntityTypeProvider
Implements this interface to support new entity types. The implementation is loaded at runtime, using the java java.util.ServiceLoader
you need to provide a META-INF/services/xxx file.
| Modifier and Type | Interface and Description |
|---|---|
static class |
EntityTypeProvider.DefaultImpls
Implements this interface to support new entity types.
The implementation is loaded at runtime, using the java java.util.ServiceLoader
|
| Modifier and Type | Method and Description |
|---|---|
EntityTypeClassifier |
getEntityTypeClassifier()
Returns the entity classifier - null by default.
|
EntityTypeEvaluator |
getEntityTypeEvaluator()
Returns the entity evaluator - null by default.
|
boolean |
healthcheck()
Test the server is up.
|
boolean |
supportClassification(java.lang.String namespace,
java.lang.String entityTypeName)
Does the given EntityType can be classified?
|
boolean |
supportEvaluation(java.lang.String namespace,
java.lang.String entityTypeName)
Does the given EntityType can be evaluated?
|
boolean |
supportValuesMerge(java.lang.String namespace,
java.lang.String entityTypeName)
Does the given EntityType supports values merge?
|
boolean supportClassification(@NotNull
java.lang.String namespace,
@NotNull
java.lang.String entityTypeName)
Does the given EntityType can be classified?
boolean supportEvaluation(@NotNull
java.lang.String namespace,
@NotNull
java.lang.String entityTypeName)
Does the given EntityType can be evaluated?
boolean supportValuesMerge(@NotNull
java.lang.String namespace,
@NotNull
java.lang.String entityTypeName)
Does the given EntityType supports values merge?
@Nullable EntityTypeClassifier getEntityTypeClassifier()
Returns the entity classifier - null by default.
@Nullable EntityTypeEvaluator getEntityTypeEvaluator()
Returns the entity evaluator - null by default.
boolean healthcheck()
Test the server is up.