public static class EntityTypeProvider.DefaultImpls
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 public static java.util.Set<java.lang.String> supportedEntityTypes(EntityTypeProvider $this)
Returns supported entity types - ie if the list of supported entity types if it is already known.
public static boolean supportClassification(EntityTypeProvider $this, @NotNull java.lang.String namespace, @NotNull java.lang.String entityTypeName)
Does the given EntityType can be classified?
public static boolean supportEvaluation(EntityTypeProvider $this, @NotNull java.lang.String namespace, @NotNull java.lang.String entityTypeName)
Does the given EntityType can be evaluated?
public static boolean supportValuesMerge(EntityTypeProvider $this, @NotNull java.lang.String namespace, @NotNull java.lang.String entityTypeName)
Does the given EntityType supports values merge?
@Nullable public static EntityTypeClassifier getEntityTypeClassifier(EntityTypeProvider $this)
Returns the entity classifier - null by default.
@Nullable public static EntityTypeEvaluator getEntityTypeEvaluator(EntityTypeProvider $this)
Returns the entity evaluator - null by default.
public static boolean healthcheck(EntityTypeProvider $this)
Test the server is up.