public class CreateProjectBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
CreateProjectBuilder.AdditionalChangeHandle |
static class |
CreateProjectBuilder.Context |
static interface |
CreateProjectBuilder.PomOperationsHandle
create pom modeloperations based on the passed context
|
Constructor and Description |
---|
CreateProjectBuilder(File projectDir,
String groupId,
String artifactId,
String version) |
Modifier and Type | Method and Description |
---|---|
void |
create() |
CreateProjectBuilder |
setAdditionalNonPomWork(CreateProjectBuilder.AdditionalChangeHandle action) |
CreateProjectBuilder |
setAdditionalOperations(CreateProjectBuilder.PomOperationsHandle opers) |
CreateProjectBuilder |
setPackageName(String packageName) |
CreateProjectBuilder |
setPackaging(String packaging) |
CreateProjectBuilder |
setParentProject(org.apache.maven.project.MavenProject parent)
sets the parent project, expected to be of "pom" packaging.
|
CreateProjectBuilder |
setProgressHandle(ProgressHandle handle) |
CreateProjectBuilder |
setUpdateParent(boolean update)
if true will update the parent project (if found) with the relevant module section addition
|
public CreateProjectBuilder setPackaging(String packaging)
public CreateProjectBuilder setPackageName(String packageName)
public CreateProjectBuilder setUpdateParent(boolean update)
update
- public CreateProjectBuilder setParentProject(org.apache.maven.project.MavenProject parent)
parent
- public CreateProjectBuilder setAdditionalOperations(CreateProjectBuilder.PomOperationsHandle opers)
public CreateProjectBuilder setAdditionalNonPomWork(CreateProjectBuilder.AdditionalChangeHandle action)
public CreateProjectBuilder setProgressHandle(ProgressHandle handle)
public void create()