}
/**
+ * Returns the file override for the given file.
+ *
+ * @param projectFile
+ * The file for which to get the override
+ * @return The file override, or <code>null</code> if the given file does
+ * not have an override
+ */
+ public FileOverride getFileOverride(ProjectFile projectFile) {
+ return fileOverrides.get(projectFile.getCompletePath());
+ }
+
+ /**
+ * Returns the file override for the given file.
+ *
+ * @param filePath
+ * The file path for which to get the override
+ * @return The file override, or <code>null</code> if the given file does
+ * not have an override
+ */
+ public FileOverride getFileOverride(String filePath) {
+ return fileOverrides.get(filePath);
+ }
+
+ /**
* Returns the list of {@link FileOverride}s.
*
* @return All file overrides