public class ArtifactMock extends Object implements IArtifactFacade, IReactorArtifactFacade
SOURCE_BUNDLE_SUFFIX| Constructor and Description |
|---|
ArtifactMock(File location,
String groupId,
String artifactId,
String version,
String packagingType) |
ArtifactMock(File location,
String groupId,
String artifactId,
String version,
String packagingType,
String classifier) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId() |
String |
getClassidier() |
Set<Object> |
getDependencyMetadata(boolean primary)
Returns primary or secondary IInstallableUnits provided by the reactor project, never
null. |
String |
getGroupId() |
File |
getLocation() |
String |
getPackagingType() |
String |
getVersion() |
void |
setClassifier(String classifier) |
void |
setDependencyMetadata(IDependencyMetadata dependencyMetadata) |
public ArtifactMock(File location, String groupId, String artifactId, String version, String packagingType, String classifier)
public File getLocation()
getLocation in interface IArtifactFacadepublic String getGroupId()
getGroupId in interface IArtifactFacadepublic String getArtifactId()
getArtifactId in interface IArtifactFacadepublic String getVersion()
getVersion in interface IArtifactFacadepublic String getPackagingType()
getPackagingType in interface IArtifactFacadepublic String getClassidier()
getClassidier in interface IArtifactFacadepublic void setClassifier(String classifier)
public Set<Object> getDependencyMetadata(boolean primary)
IReactorArtifactFacadenull.
Primary IUs are used to determine project dependencies. Secondary IUs can be used to resolve
dependencies of other reactor projects but do not affect dependencies of this project unless
required by the primary IUs.getDependencyMetadata in interface IReactorArtifactFacadepublic void setDependencyMetadata(IDependencyMetadata dependencyMetadata)
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.