org.openmetadata.service.security.policyevaluator.ResourceContextInterface Maven / Gradle / Ivy
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();
}