// Project structure builder
DefaultProjectStructureGenerator generator = new DefaultProjectStructureGenerator(projectHandle, monitor);
// TODO: Via configuration.
generator.build("resources/config/directory.xml");
// TODO: Via configuration.
if (page4.isExample1Included()) {
generator.build("resources/config/deploy-example1.xml");
}