public EntityTypeProvider
Implement 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.
@NotNull java.util.Set<java.lang.String> supportedEntityTypes()
Returns supported entity types - ie if the list of supported entity types if it is already known.
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.