Package org.openmetadata.service
Class ResourceRegistry
java.lang.Object
org.openmetadata.service.ResourceRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final List<MetadataOperation>protected static final Map<MetadataOperation,String> protected static final Map<String,MetadataOperation> -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddResource(String resourceName, List<MetadataOperation> entitySpecificOperations, Set<String> entityFields) static String[]static MetadataOperationgetEditOperation(String field) Given an entity field name get the corresponding entity edit operationstatic StringgetField(MetadataOperation operation) Given an edit operation get the corresponding entity fieldstatic ResourceDescriptorgetResourceDescriptor(String resourceType) static List<ResourceDescriptor>
-
Field Details
-
FIELD_TO_EDIT_OPERATION_MAP
-
EDIT_OPERATION_TO_OPERATION_MAP
-
COMMON_OPERATIONS
-
-
Method Details
-
addResource
public static void addResource(String resourceName, List<MetadataOperation> entitySpecificOperations, Set<String> entityFields) -
listResourceDescriptors
-
getResourceDescriptor
-
getEditOperation
Given an entity field name get the corresponding entity edit operation -
getField
Given an edit operation get the corresponding entity field -
getEditableFields
-