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, hashCode
public ReactorProjectStub(File basedir, String groupId, String artifactId, String version, String packagingType)
public ReactorProjectStub(String artifactId)
public File getBasedir()
getBasedir
in interface ReactorProject
getBasedir
in class ReactorProjectIdentities
public String getGroupId()
getGroupId
in interface ReactorProject
getGroupId
in class ReactorProjectIdentities
public String getArtifactId()
getArtifactId
in interface ReactorProject
getArtifactId
in class ReactorProjectIdentities
public String getVersion()
getVersion
in interface ReactorProject
getVersion
in class ReactorProjectIdentities
public String getPackaging()
getPackaging
in interface ReactorProject
public Set<?> getDependencyMetadata(boolean primary)
ReactorProject
getDependencyMetadata
in interface ReactorProject
public void setDependencyMetadata(IDependencyMetadata dependencyMetadata)
public void setDependencyMetadata(boolean primary, Set<?> installableUnits)
setDependencyMetadata
in interface ReactorProject
public Set<?> getDependencyMetadata()
ReactorProject
getDependencyMetadata
in interface ReactorProject
public ReactorProjectIdentities getIdentities()
getIdentities
in interface ReactorProject
public File getOutputDirectory()
getOutputDirectory
in interface ReactorProject
public BuildOutputDirectory getBuildDirectory()
getBuildDirectory
in interface ReactorProject
getBuildDirectory
in class ReactorProjectIdentities
public File getTestOutputDirectory()
getTestOutputDirectory
in interface ReactorProject
public File getArtifact()
ReactorProject
getArtifact
in interface ReactorProject
public File getArtifact(String artifactClassifier)
ReactorProject
getArtifact
in interface ReactorProject
public Object getContextValue(String key)
getContextValue
in interface ReactorProject
public void setContextValue(String key, Object value)
setContextValue
in interface ReactorProject
public String getBuildQualifier()
getBuildQualifier
in interface ReactorProject
public String getExpandedVersion()
getExpandedVersion
in interface ReactorProject
public String getId()
ReactorProject
getId
in interface ReactorProject
public boolean sameProject(Object otherProject)
sameProject
in interface ReactorProject
Copyright © 2008–2022 Eclipse Foundation. All rights reserved.