From 553c6822f61f72d1bcfdd53fe29cac67db19b0ff Mon Sep 17 00:00:00 2001 From: Britton Isbell Date: Wed, 1 Apr 2009 23:10:00 +0000 Subject: [PATCH] Added file. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@761106 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/profiles/ProfileContextInfo.java | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 maven-project/src/main/java/org/apache/maven/profiles/ProfileContextInfo.java diff --git a/maven-project/src/main/java/org/apache/maven/profiles/ProfileContextInfo.java b/maven-project/src/main/java/org/apache/maven/profiles/ProfileContextInfo.java new file mode 100644 index 0000000000..47906b9ca9 --- /dev/null +++ b/maven-project/src/main/java/org/apache/maven/profiles/ProfileContextInfo.java @@ -0,0 +1,35 @@ +package org.apache.maven.profiles; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; + +import org.apache.maven.shared.model.InterpolatorProperty; + +public class ProfileContextInfo +{ + private List interpolatorProperties; + + private Collection activeProfileIds; + + private Collection inactiveProfileIds; + + public ProfileContextInfo(List interpolatorProperties, Collection activeProfileIds, Collection inactiveProfileIds) + { + this.interpolatorProperties = (interpolatorProperties != null) ? interpolatorProperties : new ArrayList(); + this.activeProfileIds = (activeProfileIds != null) ? activeProfileIds : new ArrayList(); + this.inactiveProfileIds = (inactiveProfileIds != null) ? inactiveProfileIds : new ArrayList(); + } + + public List getInterpolatorProperties() { + return interpolatorProperties; + } + + public Collection getActiveProfileIds() { + return activeProfileIds; + } + + public Collection getInactiveProfileIds() { + return inactiveProfileIds; + } +}