public static class EntityTypeProvider.DefaultImpls
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 | Method and Description |
|---|---|
static EntityTypeClassifier |
getEntityTypeClassifier(EntityTypeProvider $this)
Returns the entity classifier - null by default.
|
static EntityTypeEvaluator |
getEntityTypeEvaluator(EntityTypeProvider $this)
Returns the entity evaluator - null by default.
|
static boolean |
healthcheck(EntityTypeProvider $this)
Test the server is up.
|
static boolean |
supportClassification(EntityTypeProvider $this,
java.lang.String namespace,
java.lang.String entityTypeName)
Does the given EntityType can be classified?
|
static boolean |
supportEvaluation(EntityTypeProvider $this,
java.lang.String namespace,
java.lang.String entityTypeName)
Does the given EntityType can be evaluated?
|
static boolean |
supportValuesMerge(EntityTypeProvider $this,
java.lang.String namespace,
java.lang.String entityTypeName)
Does the given EntityType supports values merge?
|
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.