Package com.datahub.authorization
Class ResolvedResourceSpec
- java.lang.Object
-
- com.datahub.authorization.ResolvedResourceSpec
-
public class ResolvedResourceSpec extends java.lang.ObjectWrapper around authorization request with field resolvers for lazily fetching the field values for each field type
-
-
Constructor Summary
Constructors Constructor Description ResolvedResourceSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDomain()Fetch the domain for a Resolved Resource Specjava.util.Set<java.lang.String>getFieldValues(ResourceFieldType resourceFieldType)java.util.Set<java.lang.String>getOwners()Fetch the owners for a resource.java.lang.StringgetType()Fetch the entity-registry type for a resource.
-
-
-
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.
-
-