mirror of https://github.com/apache/maven.git
Added file.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@761106 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e2b3bace10
commit
553c6822f6
|
@ -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<InterpolatorProperty> interpolatorProperties;
|
||||
|
||||
private Collection<String> activeProfileIds;
|
||||
|
||||
private Collection<String> inactiveProfileIds;
|
||||
|
||||
public ProfileContextInfo(List<InterpolatorProperty> interpolatorProperties, Collection<String> activeProfileIds, Collection<String> inactiveProfileIds)
|
||||
{
|
||||
this.interpolatorProperties = (interpolatorProperties != null) ? interpolatorProperties : new ArrayList<InterpolatorProperty>();
|
||||
this.activeProfileIds = (activeProfileIds != null) ? activeProfileIds : new ArrayList<String>();
|
||||
this.inactiveProfileIds = (inactiveProfileIds != null) ? inactiveProfileIds : new ArrayList<String>();
|
||||
}
|
||||
|
||||
public List<InterpolatorProperty> getInterpolatorProperties() {
|
||||
return interpolatorProperties;
|
||||
}
|
||||
|
||||
public Collection<String> getActiveProfileIds() {
|
||||
return activeProfileIds;
|
||||
}
|
||||
|
||||
public Collection<String> getInactiveProfileIds() {
|
||||
return inactiveProfileIds;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue