/**
* Adds a file override for the given file.
*
+ * @param projectFile
+ * The file
+ * @param override
+ * The override for the file
+ */
+ public void addFileOverride(ProjectFile projectFile, FileOverride override) {
+ addFileOverride(projectFile.getCompletePath(), override);
+ }
+
+ /**
+ * Adds a file override for the given file.
+ *
* @param filePath
* The file path
* @param override
/**
* Removes the file override for the given file.
*
+ * @param projectFile
+ * The file for which to remove the override
+ */
+ public void removeFileOverride(ProjectFile projectFile) {
+ removeFileOverride(projectFile.getCompletePath());
+ }
+
+ /**
+ * Removes the file override for the given file.
+ *
* @param filePath
* The file path for which to remove the override
*/
* not have an override
*/
public FileOverride getFileOverride(ProjectFile projectFile) {
- return fileOverrides.get(projectFile.getCompletePath());
+ return getFileOverride(projectFile.getCompletePath());
}
/**