Class ProjectStub
java.lang.Object
org.apache.maven.api.plugin.testing.stubs.ProjectStub
- All Implemented Interfaces:
Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProperty
(String key, String value) getModel()
getName()
boolean
boolean
setArtifactId
(String artifactId) setBasedir
(Path basedir) void
setDeclaredActiveProfiles
(List<Profile> values) void
setDeclaredProfiles
(List<Profile> values) setDescription
(String desc) void
setEffectiveActiveProfiles
(List<Profile> values) void
setEffectiveProfiles
(List<Profile> values) setGroupId
(String groupId) setMainArtifact
(ProducedArtifact mainArtifact) setMavenModel
(org.apache.maven.model.Model model) void
setPackaging
(String packaging) setPomPath
(Path pomPath) setRootDirectory
(Path rootDirectory) setTopProject
(boolean topProject) setVersion
(String version) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.api.Project
getBuild, getId, getLanguage, getMainArtifact, getPomArtifact
-
Constructor Details
-
ProjectStub
public ProjectStub()
-
-
Method Details
-
setModel
-
getGroupId
- Specified by:
getGroupId
in interfaceProject
-
getArtifactId
- Specified by:
getArtifactId
in interfaceProject
-
getVersion
- Specified by:
getVersion
in interfaceProject
-
getName
-
getPackaging
- Specified by:
getPackaging
in interfaceProject
-
getArtifacts
- Specified by:
getArtifacts
in interfaceProject
-
getModel
-
getPomPath
- Specified by:
getPomPath
in interfaceProject
-
getDependencies
- Specified by:
getDependencies
in interfaceProject
-
getManagedDependencies
- Specified by:
getManagedDependencies
in interfaceProject
-
getBasedir
- Specified by:
getBasedir
in interfaceProject
-
getParent
-
isTopProject
public boolean isTopProject()- Specified by:
isTopProject
in interfaceProject
-
isRootProject
public boolean isRootProject()- Specified by:
isRootProject
in interfaceProject
-
getRootDirectory
- Specified by:
getRootDirectory
in interfaceProject
-
setBasedir
-
setGroupId
-
setArtifactId
-
setVersion
-
setName
-
setDescription
-
setPackaging
-
setMainArtifact
-
setPomPath
-
setTopProject
-
setMavenModel
-
setRootDirectory
-
addProperty
-
getDeclaredProfiles
- Specified by:
getDeclaredProfiles
in interfaceProject
-
setDeclaredProfiles
-
getEffectiveProfiles
- Specified by:
getEffectiveProfiles
in interfaceProject
-
setEffectiveProfiles
-
getDeclaredActiveProfiles
- Specified by:
getDeclaredActiveProfiles
in interfaceProject
-
setDeclaredActiveProfiles
-
getEffectiveActiveProfiles
- Specified by:
getEffectiveActiveProfiles
in interfaceProject
-
setEffectiveActiveProfiles
-