Interface SearchLocation
- All Known Implementing Classes:
BuildIdSearchLocation
,LocalDirectorySearchLocation
,SameDirSearchLocation
public interface SearchLocation
Represents a collection of dwarf external debug files that can be searched.
-
Method Summary
Modifier and TypeMethodDescriptionfindDebugFile
(ExternalDebugInfo debugInfo, TaskMonitor monitor) Searchs for a debug file that fulfills the criteria specified in theExternalDebugInfo
.Returns a human formatted string describing this location, used in UI prompts or lists.getName()
Returns the name of this instance, which should be a serialized copy of this instance.
-
Method Details
-
findDebugFile
FSRL findDebugFile(ExternalDebugInfo debugInfo, TaskMonitor monitor) throws IOException, CancelledException Searchs for a debug file that fulfills the criteria specified in theExternalDebugInfo
.- Parameters:
debugInfo
- search criteriamonitor
-TaskMonitor
- Returns:
FSRL
of the matching file, ornull
if not found- Throws:
IOException
- if errorCancelledException
- if cancelled
-
getName
String getName()Returns the name of this instance, which should be a serialized copy of this instance.- Returns:
- String serialized data of this instance, typically in "something://serialized_data" form
-
getDescriptiveName
String getDescriptiveName()Returns a human formatted string describing this location, used in UI prompts or lists.- Returns:
- formatted string
-