/** Name of the “base path” property. */
public static final String PROPERTY_BASE_PATH = "basePath";
+ /** Name of the “default file” property. */
+ public static final String PROPERTY_DEFAULT_FILE = "defaultFile";
+
/** Internal ID. */
private String id;
/** The base path of the project. */
private String basePath;
+ /** The default file. */
+ private String defaultFile;
+
/** The overrides. */
private final Map<String, Override> overrides = new HashMap<String, Override>();
}
/**
+ * Returns the default file.
+ *
+ * @return The default file
+ */
+ public String getDefaultFile() {
+ return defaultFile;
+ }
+
+ /**
+ * Sets the default file.
+ *
+ * @param defaultFile
+ * The default file
+ */
+ public void setDefaultFile(String defaultFile) {
+ String oldDefaultFile = this.defaultFile;
+ this.defaultFile = defaultFile;
+ fireIfPropertyChanged(PROPERTY_DEFAULT_FILE, oldDefaultFile, defaultFile);
+ }
+
+ /**
* Adds an override for the given file.
*
* @param filePath