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; + } +}