From: David ‘Bombe’ Roden Date: Wed, 28 May 2008 12:56:51 +0000 (+0200) Subject: add method to get overrides from project X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=048c65f575e9a19ee3542001c997eb072d988f40;p=jSite2.git add method to get overrides from project --- diff --git a/src/net/pterodactylus/jsite/project/Project.java b/src/net/pterodactylus/jsite/project/Project.java index 04760e2..d6a319d 100644 --- a/src/net/pterodactylus/jsite/project/Project.java +++ b/src/net/pterodactylus/jsite/project/Project.java @@ -20,6 +20,8 @@ package net.pterodactylus.jsite.project; import java.beans.PropertyChangeListener; +import java.util.ArrayList; +import java.util.List; import net.pterodactylus.util.beans.AbstractBean; @@ -64,6 +66,9 @@ public class Project extends AbstractBean { /** The base path of the project. */ private String basePath; + /** The overrides. */ + private final List overrides = new ArrayList(); + /** * Creates a new project. */ @@ -208,4 +213,13 @@ public class Project extends AbstractBean { fireIfPropertyChanged(PROPERTY_BASE_PATH, oldBasePath, basePath); } + /** + * Returns the list of {@link Override}s. + * + * @return All overrides + */ + public List getOverrides() { + return overrides; + } + }