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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FSRL
findDebugFile(ExternalDebugInfo debugInfo, TaskMonitor monitor)
Searchs for a debug file that fulfills the criteria specified in theExternalDebugInfo
.java.lang.String
getDescriptiveName()
Returns a human formatted string describing this location, used in UI prompts or lists.java.lang.String
getName()
Returns the name of this instance, which should be a serialized copy of this instance.
-
-
-
Method Detail
-
findDebugFile
FSRL findDebugFile(ExternalDebugInfo debugInfo, TaskMonitor monitor) throws java.io.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:
java.io.IOException
- if errorCancelledException
- if cancelled
-
getName
java.lang.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
java.lang.String getDescriptiveName()
Returns a human formatted string describing this location, used in UI prompts or lists.- Returns:
- formatted string
-
-