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 | |
ArchetypeConfiguration createArchetypeConfiguration( org.apache.maven.archetype.old.descriptor.ArchetypeDescriptor archetypeDescriptor, |
33 | |
Properties properties ); |
34 | |
|
35 | |
ArchetypeConfiguration createArchetypeConfiguration( org.apache.maven.archetype.metadata.ArchetypeDescriptor archetypeDescriptor, |
36 | |
Properties properties ); |
37 | |
|
38 | |
ArchetypeConfiguration createArchetypeConfiguration( MavenProject project, ArchetypeDefinition archetypeDefinition, |
39 | |
Properties properties ); |
40 | |
|
41 | |
void updateArchetypeConfiguration( ArchetypeConfiguration archetypeConfiguration, |
42 | |
ArchetypeDefinition archetypeDefinition ); |
43 | |
} |