org.hudsonci.maven.eventspy_30
Class ResolvedProfile

java.lang.Object
  extended by 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.
 
Method Summary
 String getId()
           
 String getSource()
           
 boolean isActive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTERNAL

public static final org.apache.maven.project.MavenProject EXTERNAL
Constructor Detail

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 EXTERNAL
profile -
isActive -
Method Detail

getId

public String getId()

getSource

public String getSource()

isActive

public boolean isActive()


Copyright © 2004-2011 Hudson. All Rights Reserved.