All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmetadata.service.security.policyevaluator.ResourceContextInterface Maven / Gradle / Ivy

There is a newer version: 1.5.11
Show newest version
package org.openmetadata.service.security.policyevaluator;

import java.util.List;
import org.openmetadata.schema.EntityInterface;
import org.openmetadata.schema.type.EntityReference;
import org.openmetadata.schema.type.TagLabel;

public interface ResourceContextInterface {
  String getResource();

  // Get owner of a resource. If the resource does not support owner or has no owner, return null
  List getOwners();

  // Get Tags associated with a resource. If the resource does not support tags or has no tags,
  // return null
  List getTags();

  EntityInterface getEntity();

  EntityReference getDomain();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy