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()booleanbooleansetArtifactId(String artifactId) setBasedir(Path basedir) voidsetDeclaredActiveProfiles(List<Profile> values) voidsetDeclaredProfiles(List<Profile> values) setDescription(String desc) voidsetEffectiveActiveProfiles(List<Profile> values) voidsetEffectiveProfiles(List<Profile> values) setGroupId(String groupId) setMainArtifact(ProducedArtifact mainArtifact) setMavenModel(org.apache.maven.model.Model model) voidsetPackaging(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, waitMethods inherited from interface org.apache.maven.api.Project
getBuild, getId, getLanguage, getMainArtifact, getPomArtifact
-
Constructor Details
-
ProjectStub
public ProjectStub()
-
-
Method Details
-
setModel
-
getGroupId
- Specified by:
getGroupIdin interfaceProject
-
getArtifactId
- Specified by:
getArtifactIdin interfaceProject
-
getVersion
- Specified by:
getVersionin interfaceProject
-
getName
-
getPackaging
- Specified by:
getPackagingin interfaceProject
-
getArtifacts
- Specified by:
getArtifactsin interfaceProject
-
getModel
-
getPomPath
- Specified by:
getPomPathin interfaceProject
-
getDependencies
- Specified by:
getDependenciesin interfaceProject
-
getManagedDependencies
- Specified by:
getManagedDependenciesin interfaceProject
-
getBasedir
- Specified by:
getBasedirin interfaceProject
-
getParent
-
isTopProject
public boolean isTopProject()- Specified by:
isTopProjectin interfaceProject
-
isRootProject
public boolean isRootProject()- Specified by:
isRootProjectin interfaceProject
-
getRootDirectory
- Specified by:
getRootDirectoryin interfaceProject
-
setBasedir
-
setGroupId
-
setArtifactId
-
setVersion
-
setName
-
setDescription
-
setPackaging
-
setMainArtifact
-
setPomPath
-
setTopProject
-
setMavenModel
-
setRootDirectory
-
addProperty
-
getDeclaredProfiles
- Specified by:
getDeclaredProfilesin interfaceProject
-
setDeclaredProfiles
-
getEffectiveProfiles
- Specified by:
getEffectiveProfilesin interfaceProject
-
setEffectiveProfiles
-
getDeclaredActiveProfiles
- Specified by:
getDeclaredActiveProfilesin interfaceProject
-
setDeclaredActiveProfiles
-
getEffectiveActiveProfiles
- Specified by:
getEffectiveActiveProfilesin interfaceProject
-
setEffectiveActiveProfiles
-