Class GCubeAnalyser<GR extends org.gcube.resourcemanagement.model.reference.entities.resources.GCubeResource>

java.lang.Object
org.gcube.resourcemanagement.analyser.InstanceAnalyser<GR,GCubeInstance>
org.gcube.resourcemanagement.analyser.GCubeAnalyser<GR>
Direct Known Subclasses:
ConfigurationTemplateAnalyser, GCubeResourceAnalyzer, VirtualServiceAnalyser

public abstract class GCubeAnalyser<GR extends org.gcube.resourcemanagement.model.reference.entities.resources.GCubeResource> extends org.gcube.resourcemanagement.analyser.InstanceAnalyser<GR,GCubeInstance>
Author:
Luca Frosini (ISTI - CNR)
  • Field Summary

    Fields inherited from class org.gcube.resourcemanagement.analyser.InstanceAnalyser

    ancestor, client, derivatedRelatedResourceGroups, instance, instanceUUID, level, logger, mandatory, mandatoryRelatedResources, mapper, publisher, resource, targetContext, templateClient, type
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    GCubeAnalyser(String type, UUID instanceUUID)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<org.gcube.informationsystem.model.reference.entities.Resource>
    discoverDerivatedRelatedResources(org.gcube.resourcemanagement.model.reference.entities.facets.DiscoveryFacet discoveryFacet)
     
    protected Set<org.gcube.resourcemanagement.resource.DerivatedRelatedResourceGroup<GCubeInstance>>
     
    protected org.gcube.resourcemanagement.resource.DerivatedRelatedResourceGroup<GCubeInstance>
    getDerivatedRelatedResourceGroup(org.gcube.resourcemanagement.model.reference.entities.facets.DiscoveryFacet discoveryFacet)
     
     

    Methods inherited from class org.gcube.resourcemanagement.analyser.InstanceAnalyser

    add, addDerivatedRelatedResourceGroup, addDerivatedRelatedResources, addMandatoryRelatedResources, createNewInstances, executeAdd, executeQuery, executeQueryTemplate, getAncestor, getDerivatedRelatedResources, getDescription, getDRRMap, getInstance, getInstanceUUID, getLevel, getMandatoryRelatedResources, getMandatoryRelatedResourcesQTR, getName, getNewInstances, getPriority, getResource, getType, getTypeClass, polymorphic, read, readToAdd, readToRemove, remove, setAncestor, setInstance, setInstanceUUID, setLevel, setResource, setTargetContext, setType, validateDerivatedRelatedResources, validateInstancesToCreate, validateMandatoryRelatedResources

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GCubeAnalyser

      public GCubeAnalyser()
    • GCubeAnalyser

      public GCubeAnalyser(String type, UUID instanceUUID)
  • Method Details

    • getInstanceClass

      public Class<GCubeInstance> getInstanceClass()
      Specified by:
      getInstanceClass in class org.gcube.resourcemanagement.analyser.InstanceAnalyser<GR extends org.gcube.resourcemanagement.model.reference.entities.resources.GCubeResource,GCubeInstance>
    • getDerivatedRelatedResourceGroup

      protected Set<org.gcube.resourcemanagement.resource.DerivatedRelatedResourceGroup<GCubeInstance>> getDerivatedRelatedResourceGroup() throws jakarta.ws.rs.WebApplicationException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Specified by:
      getDerivatedRelatedResourceGroup in class org.gcube.resourcemanagement.analyser.InstanceAnalyser<GR extends org.gcube.resourcemanagement.model.reference.entities.resources.GCubeResource,GCubeInstance>
      Throws:
      jakarta.ws.rs.WebApplicationException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • getDerivatedRelatedResourceGroup

      protected org.gcube.resourcemanagement.resource.DerivatedRelatedResourceGroup<GCubeInstance> getDerivatedRelatedResourceGroup(org.gcube.resourcemanagement.model.reference.entities.facets.DiscoveryFacet discoveryFacet) throws jakarta.ws.rs.WebApplicationException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      jakarta.ws.rs.WebApplicationException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • discoverDerivatedRelatedResources

      protected List<org.gcube.informationsystem.model.reference.entities.Resource> discoverDerivatedRelatedResources(org.gcube.resourcemanagement.model.reference.entities.facets.DiscoveryFacet discoveryFacet) throws jakarta.ws.rs.WebApplicationException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      jakarta.ws.rs.WebApplicationException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException