Class InstanceMultipleAnalyserFactory

java.lang.Object
org.gcube.resourcemanagement.analyser.InstanceMultipleAnalyserFactory

public class InstanceMultipleAnalyserFactory extends Object
Author:
Luca Frosini (ISTI - CNR)
  • Field Details

    • logger

      protected static org.slf4j.Logger logger
      Logger
    • instances

      protected static Map<String,List<InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource,Instance>>> instances
    • polymorphicInstances

      protected static Map<String,List<InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource,Instance>>> polymorphicInstances
  • Constructor Details

    • InstanceMultipleAnalyserFactory

      public InstanceMultipleAnalyserFactory()
  • Method Details

    • sortInstanceAnalyserList

      protected static List<InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource,Instance>> sortInstanceAnalyserList(List<InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource,Instance>> list)
    • addInstanceAnalyser

      protected static void addInstanceAnalyser(String type, InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource,Instance> analyser, Map<String,List<InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource,Instance>>> instancesMap)
    • 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)
    • analyseInstanceAnalyser

      protected static void analyseInstanceAnalyser(InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource,Instance> analyser)
    • getInstanceAnalysers

      public static List<InstanceAnalyser<org.gcube.informationsystem.model.reference.entities.Resource,Instance>> getInstanceAnalysers(String type, UUID id)