Class ResolvedResourceSpec


  • public class ResolvedResourceSpec
    extends java.lang.Object
    Wrapper around authorization request with field resolvers for lazily fetching the field values for each field type
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDomain()
      Fetch the domain for a Resolved Resource Spec
      java.util.Set<java.lang.String> getFieldValues​(ResourceFieldType resourceFieldType)  
      java.util.Set<java.lang.String> getOwners()
      Fetch the owners for a resource.
      java.lang.String getType()
      Fetch the entity-registry type for a resource.
      • Methods inherited from class java.lang.Object

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

      • ResolvedResourceSpec

        public ResolvedResourceSpec()
    • Method Detail

      • getFieldValues

        public java.util.Set<java.lang.String> getFieldValues​(ResourceFieldType resourceFieldType)
      • getType

        public java.lang.String getType()
        Fetch the entity-registry type for a resource. ('dataset', 'dashboard', 'chart').
        Returns:
        the entity type.
      • getOwners

        public java.util.Set<java.lang.String> getOwners()
        Fetch the owners for a resource.
        Returns:
        a set of owner urns, or empty set if none exist.
      • getDomain

        @Nullable
        public java.lang.String getDomain()
        Fetch the domain for a Resolved Resource Spec
        Returns:
        a Domain or null if one does not exist.