Class TargetContext

java.lang.Object
org.gcube.resourcemanagement.context.TargetContext

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

    • client

      protected org.gcube.informationsystem.resourceregistry.client.ResourceRegistryClient client
    • contextCache

      protected org.gcube.informationsystem.resourceregistry.api.contexts.ContextCache contextCache
    • contextFullPath

      protected String contextFullPath
    • uuid

      protected UUID uuid
    • context

      protected org.gcube.informationsystem.contexts.reference.entities.Context context
    • secret

      protected org.gcube.common.security.secrets.Secret secret
  • Constructor Details

    • TargetContext

      public TargetContext()
    • TargetContext

      public TargetContext(org.gcube.informationsystem.contexts.reference.entities.Context context) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      The provided context must be part of a tree of contexts
      Parameters:
      context -
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • TargetContext

      public TargetContext(UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • TargetContext

      public TargetContext(String contextFullPath) throws org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
  • Method Details

    • init

      protected void init()
    • getUUID

      public UUID getUUID()
    • setUUID

      public void setUUID(UUID uuid)
    • getContextFullPath

      public String getContextFullPath()
    • setContextFullPath

      public void setContextFullPath(String contextFullPath)
    • getContext

      public org.gcube.informationsystem.contexts.reference.entities.Context getContext()
    • setContext

      public void setContext(org.gcube.informationsystem.contexts.reference.entities.Context context)
    • getSecret

      public org.gcube.common.security.secrets.Secret getSecret()
    • setSecret

      public void setSecret(org.gcube.common.security.secrets.Secret secret)