public class ProjectGeneratorTester extends AbstractProjectGenerationTester<ProjectGeneratorTester>
ProjectGenerator. Contrary to ProjectAssetTester,
standard ProjectGenerationConfiguration classes are processed
automatically.Extra beans can be added using bean registration, a configuration class or
via the customization of the project
generation context.AbstractProjectGenerationTester.ProjectGenerationInvoker<T>| Constructor and Description |
|---|
ProjectGeneratorTester() |
| Modifier and Type | Method and Description |
|---|---|
ProjectStructure |
generate(MutableProjectDescription description) |
<T> T |
generate(MutableProjectDescription description,
ProjectAssetGenerator<T> projectAssetGenerator) |
protected ProjectGeneratorTester |
newInstance(Map<Class<?>,Supplier<?>> beanDefinitions,
Consumer<ProjectGenerationContext> contextInitializer,
Consumer<MutableProjectDescription> descriptionCustomizer) |
invokeProjectGeneration, withBean, withConfiguration, withContextInitializer, withDescriptionCustomizer, withDirectory, withIndentingWriterFactoryprotected ProjectGeneratorTester newInstance(Map<Class<?>,Supplier<?>> beanDefinitions, Consumer<ProjectGenerationContext> contextInitializer, Consumer<MutableProjectDescription> descriptionCustomizer)
newInstance in class AbstractProjectGenerationTester<ProjectGeneratorTester>public ProjectStructure generate(MutableProjectDescription description)
public <T> T generate(MutableProjectDescription description, ProjectAssetGenerator<T> projectAssetGenerator)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.