1 package org.apache.maven.archetype.ui;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.project.MavenProject;
23
24 import java.util.Properties;
25
26 public interface ArchetypeFactory
27 {
28 String ROLE = ArchetypeFactory.class.getName();
29
30 ArchetypeDefinition createArchetypeDefinition( Properties properties );
31
32 @SuppressWarnings( "checkstyle:linelength" )
33 ArchetypeConfiguration createArchetypeConfiguration( org.apache.maven.archetype.old.descriptor.ArchetypeDescriptor archetypeDescriptor,
34 Properties properties );
35
36 @SuppressWarnings( "checkstyle:linelength" )
37 ArchetypeConfiguration createArchetypeConfiguration( org.apache.maven.archetype.metadata.ArchetypeDescriptor archetypeDescriptor,
38 Properties properties );
39
40 @SuppressWarnings( "checkstyle:linelength" )
41 ArchetypeConfiguration createArchetypeConfiguration( MavenProject project, ArchetypeDefinition archetypeDefinition,
42 Properties properties );
43
44 void updateArchetypeConfiguration( ArchetypeConfiguration archetypeConfiguration,
45 ArchetypeDefinition archetypeDefinition );
46 }