Class GCubeResourceAnalyzer

java.lang.Object
org.gcube.resourcemanagement.analyser.InstanceAnalyser<GR,GCubeInstance>
org.gcube.resourcemanagement.analyser.GCubeAnalyser<org.gcube.resourcemanagement.model.reference.entities.resources.GCubeResource>
org.gcube.resourcemanagement.analyser.GCubeResourceAnalyzer

public class GCubeResourceAnalyzer extends GCubeAnalyser<org.gcube.resourcemanagement.model.reference.entities.resources.GCubeResource>
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
     
    GCubeResourceAnalyzer(String type, UUID instanceUUID)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<org.gcube.informationsystem.base.reference.IdentifiableElement>
     
    Class<org.gcube.resourcemanagement.model.reference.entities.resources.GCubeResource>
     
    boolean
     
    protected List<org.gcube.informationsystem.base.reference.IdentifiableElement>
    validateInstancesToCreate(List<org.gcube.informationsystem.base.reference.IdentifiableElement> newInstances)
     

    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, getPriority, getResource, getType, read, readToAdd, readToRemove, remove, setAncestor, setInstance, setInstanceUUID, setLevel, setResource, setTargetContext, setType, validateDerivatedRelatedResources, validateMandatoryRelatedResources

    Methods inherited from class java.lang.Object

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

    • GCubeResourceAnalyzer

      public GCubeResourceAnalyzer()
    • GCubeResourceAnalyzer

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

    • getTypeClass

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

      public boolean polymorphic()
      Overrides:
      polymorphic in class org.gcube.resourcemanagement.analyser.InstanceAnalyser<org.gcube.resourcemanagement.model.reference.entities.resources.GCubeResource,GCubeInstance>
    • getNewInstances

      protected List<org.gcube.informationsystem.base.reference.IdentifiableElement> getNewInstances() throws jakarta.ws.rs.WebApplicationException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Specified by:
      getNewInstances in class org.gcube.resourcemanagement.analyser.InstanceAnalyser<org.gcube.resourcemanagement.model.reference.entities.resources.GCubeResource,GCubeInstance>
      Throws:
      jakarta.ws.rs.WebApplicationException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • validateInstancesToCreate

      protected List<org.gcube.informationsystem.base.reference.IdentifiableElement> validateInstancesToCreate(List<org.gcube.informationsystem.base.reference.IdentifiableElement> newInstances) throws jakarta.ws.rs.WebApplicationException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Specified by:
      validateInstancesToCreate in class org.gcube.resourcemanagement.analyser.InstanceAnalyser<org.gcube.resourcemanagement.model.reference.entities.resources.GCubeResource,GCubeInstance>
      Throws:
      jakarta.ws.rs.WebApplicationException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException