public class ReactorProjectStub extends ReactorProjectIdentities implements ReactorProject
CTX_DEPENDENCY_METADATA, CTX_REACTOR_PROJECT, CTX_SECONDARY_DEPENDENCY_METADATA, SOURCE_ARTIFACT_CLASSIFIER| Constructor and Description |
|---|
ReactorProjectStub(File basedir,
String artifactId) |
ReactorProjectStub(File basedir,
String groupId,
String artifactId,
String version,
String packagingType) |
ReactorProjectStub(String artifactId) |
| Modifier and Type | Method and Description |
|---|---|
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() |
String |
getBuildQualifier() |
Object |
getContextValue(String key) |
Set<?> |
getDependencyMetadata()
Returns project dependency metadata with both primary and secondary project installable
units.
|
Set<?> |
getDependencyMetadata(boolean primary)
Returns set of p2 IInstallableUnits that describe requirements and provided
capabilities of this project.
|
String |
getExpandedVersion() |
String |
getGroupId() |
String |
getId()
human-readable id used in error messages
|
ReactorProjectIdentities |
getIdentities() |
File |
getOutputDirectory() |
String |
getPackaging() |
File |
getTestOutputDirectory() |
String |
getVersion() |
boolean |
sameProject(Object otherProject) |
void |
setContextValue(String key,
Object value) |
void |
setDependencyMetadata(boolean primary,
Set<?> installableUnits) |
void |
setDependencyMetadata(IDependencyMetadata dependencyMetadata) |
equals, hashCodepublic ReactorProjectStub(File basedir, String groupId, String artifactId, String version, String packagingType)
public ReactorProjectStub(String artifactId)
public File getBasedir()
getBasedir in interface ReactorProjectgetBasedir in class ReactorProjectIdentitiespublic String getGroupId()
getGroupId in interface ReactorProjectgetGroupId in class ReactorProjectIdentitiespublic String getArtifactId()
getArtifactId in interface ReactorProjectgetArtifactId in class ReactorProjectIdentitiespublic String getVersion()
getVersion in interface ReactorProjectgetVersion in class ReactorProjectIdentitiespublic String getPackaging()
getPackaging in interface ReactorProjectpublic Set<?> getDependencyMetadata(boolean primary)
ReactorProjectgetDependencyMetadata in interface ReactorProjectpublic void setDependencyMetadata(IDependencyMetadata dependencyMetadata)
public void setDependencyMetadata(boolean primary,
Set<?> installableUnits)
setDependencyMetadata in interface ReactorProjectpublic Set<?> getDependencyMetadata()
ReactorProjectgetDependencyMetadata in interface ReactorProjectpublic ReactorProjectIdentities getIdentities()
getIdentities in interface ReactorProjectpublic File getOutputDirectory()
getOutputDirectory in interface ReactorProjectpublic BuildOutputDirectory getBuildDirectory()
getBuildDirectory in interface ReactorProjectgetBuildDirectory in class ReactorProjectIdentitiespublic File getTestOutputDirectory()
getTestOutputDirectory in interface ReactorProjectpublic File getArtifact()
ReactorProjectgetArtifact in interface ReactorProjectpublic File getArtifact(String artifactClassifier)
ReactorProjectgetArtifact in interface ReactorProjectpublic Object getContextValue(String key)
getContextValue in interface ReactorProjectpublic void setContextValue(String key, Object value)
setContextValue in interface ReactorProjectpublic String getBuildQualifier()
getBuildQualifier in interface ReactorProjectpublic String getExpandedVersion()
getExpandedVersion in interface ReactorProjectpublic String getId()
ReactorProjectgetId in interface ReactorProjectpublic boolean sameProject(Object otherProject)
sameProject in interface ReactorProjectCopyright © 2008-2015 Eclipse Foundation. All Rights Reserved.