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.archetype.ArchetypeGenerationRequest; |
23 | |
import org.apache.maven.archetype.exception.ArchetypeGenerationConfigurationFailure; |
24 | |
import org.apache.maven.archetype.exception.ArchetypeNotConfigured; |
25 | |
import org.apache.maven.archetype.exception.ArchetypeNotDefined; |
26 | |
import org.apache.maven.archetype.exception.UnknownArchetype; |
27 | |
import org.codehaus.plexus.components.interactivity.PrompterException; |
28 | |
|
29 | |
import java.io.IOException; |
30 | |
import java.util.Properties; |
31 | |
|
32 | |
public interface ArchetypeGenerationConfigurator |
33 | |
{ |
34 | |
String ROLE = ArchetypeGenerationConfigurator.class.getName(); |
35 | |
|
36 | |
void configureArchetype( ArchetypeGenerationRequest request, Boolean interactiveMode, |
37 | |
Properties commandLineProperties ) |
38 | |
throws ArchetypeNotDefined, UnknownArchetype, ArchetypeNotConfigured, IOException, PrompterException, |
39 | |
ArchetypeGenerationConfigurationFailure; |
40 | |
} |