Class InstanceAnalyserFactory
java.lang.Object
org.gcube.resourcemanagement.analyser.InstanceAnalyserFactory
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Map<String,InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource, Instance>> protected static org.slf4j.LoggerLoggerprotected static Map<String,InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource, Instance>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaddPolymorphicInstanceAnalyser(String type, InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource, Instance> analyser) protected static voidanalyseInstanceAnalyser(InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource, Instance> analyser) protected static voidevaluateBestInstanceAnalyser(String type, InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource, Instance> candidatedAnalyser, org.gcube.informationsystem.tree.Tree<org.gcube.informationsystem.types.reference.Type> resourceTree) static InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource,Instance> getInstanceAnalyser(String type, UUID id)
-
Field Details
-
logger
protected static org.slf4j.Logger loggerLogger -
instances
protected static Map<String,InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource, instancesInstance>> -
polymorphicInstances
protected static Map<String,InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource, polymorphicInstancesInstance>>
-
-
Constructor Details
-
InstanceAnalyserFactory
public InstanceAnalyserFactory()
-
-
Method Details
-
addPolymorphicInstanceAnalyser
protected static void addPolymorphicInstanceAnalyser(String type, InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource, Instance> analyser) -
evaluateBestInstanceAnalyser
protected static void evaluateBestInstanceAnalyser(String type, InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource, Instance> candidatedAnalyser, org.gcube.informationsystem.tree.Tree<org.gcube.informationsystem.types.reference.Type> resourceTree) throws jakarta.ws.rs.WebApplicationException- Throws:
jakarta.ws.rs.WebApplicationException
-
analyseInstanceAnalyser
protected static void analyseInstanceAnalyser(InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource, Instance> analyser) -
getInstanceAnalyser
public static InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource,Instance> getInstanceAnalyser(String type, UUID id)
-