Class NewProjectResourceFinder
java.lang.Object
org.eclipse.lemminx.customservice.synapse.resourceFinder.AbstractResourceFinder
org.eclipse.lemminx.customservice.synapse.resourceFinder.NewProjectResourceFinder
-
Field Summary
Fields inherited from class org.eclipse.lemminx.customservice.synapse.resourceFinder.AbstractResourceFinder
ARTIFACTS, dependentResourcesMap, LOCAL_ENTRY, REGISTRY, resourceFromRegistryOnly -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAllResources(String projectPath) Finds and collects all resources in the given project path, including artifacts, local entries, and registry resources.protected ResourceResponsefindResources(String projectPath, List<RequestedResource> types) protected StringgetArtifactFolder(String type) Methods inherited from class org.eclipse.lemminx.customservice.synapse.resourceFinder.AbstractResourceFinder
createRegistryResourceFromFile, createResources, findAllLocalEntryResources, findAllRegistryResources, findResourceInArtifacts, findResourceInLocalEntry, findResourceInRegistry, getAvailableResources, getDependentResourcesMap, loadDependentResources, mergeResourceResponses
-
Constructor Details
-
NewProjectResourceFinder
public NewProjectResourceFinder()
-
-
Method Details
-
findResources
- Specified by:
findResourcesin classAbstractResourceFinder
-
findAllResources
Finds and collects all resources in the given project path, including artifacts, local entries, and registry resources. The resources are grouped by their type.- Specified by:
findAllResourcesin classAbstractResourceFinder- Parameters:
projectPath- the root directory of the project- Returns:
- a map where the key is the resource type and the value is the corresponding ResourceResponse
-
getArtifactFolder
- Specified by:
getArtifactFolderin classAbstractResourceFinder
-