org.hudsonci.maven.eventspy_30
Class ResolvedProfile
java.lang.Object
org.hudsonci.maven.eventspy_30.ResolvedProfile
public class ResolvedProfile
- extends Object
Source identifier has the form <groupId>:<artifactId>:<version> to be consistent
with MavenProject.getInjectedProfileIds().
ModelBuildingResult.getModelIds() is the backing format for MavenProjects.
- Since:
- 2.1.0
- Author:
- Jamie Whitehouse
|
Field Summary |
static org.apache.maven.project.MavenProject |
EXTERNAL
|
|
Constructor Summary |
ResolvedProfile(org.apache.maven.project.MavenProject source,
org.apache.maven.model.Profile profile,
boolean isActive)
If the Profiles are from an external source use EXTERNAL as the declaringProject. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXTERNAL
public static final org.apache.maven.project.MavenProject EXTERNAL
ResolvedProfile
public ResolvedProfile(org.apache.maven.project.MavenProject source,
org.apache.maven.model.Profile profile,
boolean isActive)
- If the Profiles are from an external source use
EXTERNAL as the declaringProject.
- Parameters:
source - the project that originated the profile, or EXTERNALprofile - isActive -
getId
public String getId()
getSource
public String getSource()
isActive
public boolean isActive()
Copyright © 2004-2011 Hudson. All Rights Reserved.