|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReactorProject
| Field Summary | |
|---|---|
static String |
CTX_DEPENDENCY_METADATA
Conventional key used to store dependency metadata in MavenProject.context |
static String |
CTX_REACTOR_PROJECT
Conventional key used to store ReactorProject in MavenProject.context |
static String |
CTX_SECONDARY_DEPENDENCY_METADATA
Conventional key used to store secondary dependency metadata in MavenProject.context |
static String |
SOURCE_ARTIFACT_CLASSIFIER
Conventional sources jar Maven artifact classifier. |
| Method Summary | |
|---|---|
File |
getArtifact()
Returns main project artifact file or null, if the project has not been packaged yet. |
File |
getArtifact(String artifactClassifier)
returns attached artifact file or null if no such attached artifact. |
String |
getArtifactId()
|
File |
getBasedir()
|
BuildOutputDirectory |
getBuildDirectory()
|
Object |
getContextValue(String key)
|
Map<String,Set<Object>> |
getDependencyMetadata()
Returns project dependency metadata. |
Set<Object> |
getDependencyMetadata(String classifier,
boolean primary)
Returns live set of P2 IInstallableUnit's that describe requirements and provided capabilities of this project used during project dependency resolution for the specified classifier. |
String |
getExpandedVersion()
Per-classifier project P2 metadata. |
String |
getGroupId()
|
String |
getId()
human-readable id used in error messages |
File |
getOutputDirectory()
|
String |
getPackaging()
|
File |
getTestOutputDirectory()
|
String |
getVersion()
|
boolean |
sameProject(Object otherProject)
|
void |
setContextValue(String key,
Object value)
|
void |
setDependencyMetadata(String classifier,
boolean primary,
Set<Object> installableUnits)
Returns live set of Manve artifact classifiers that have been (or will be) attached to the project during the build. |
void |
setExpandedVersion(String originalVersion,
String qualifier)
|
| Field Detail |
|---|
static final String CTX_REACTOR_PROJECT
static final String CTX_DEPENDENCY_METADATA
static final String CTX_SECONDARY_DEPENDENCY_METADATA
static final String SOURCE_ARTIFACT_CLASSIFIER
| Method Detail |
|---|
File getBasedir()
String getPackaging()
String getGroupId()
getGroupId in interface ReactorProjectCoordinatesString getArtifactId()
getArtifactId in interface ReactorProjectCoordinatesString getVersion()
getVersion in interface ReactorProjectCoordinatesFile getOutputDirectory()
BuildOutputDirectory getBuildDirectory()
getBuildDirectory in interface ReactorProjectCoordinatesFile getTestOutputDirectory()
File getArtifact()
File getArtifact(String artifactClassifier)
Object getContextValue(String key)
void setContextValue(String key,
Object value)
void setDependencyMetadata(String classifier,
boolean primary,
Set<Object> installableUnits)
null and is NOT included in the returned set.
Set<Object> getDependencyMetadata(String classifier,
boolean primary)
Map<String,Set<Object>> getDependencyMetadata()
null
represents main the project artifact. Map values are sets of both primary and secondary
project installable units.
String getExpandedVersion()
void setExpandedVersion(String originalVersion,
String qualifier)
String getId()
boolean sameProject(Object otherProject)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||