From 048c65f575e9a19ee3542001c997eb072d988f40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 28 May 2008 14:56:51 +0200 Subject: [PATCH] add method to get overrides from project --- src/net/pterodactylus/jsite/project/Project.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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; + } + } -- 2.7.4