Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||
EclipseWriter |
|
| 1.0;1 |
1 | /* |
|
2 | * Copyright 2001-2005 The Apache Software Foundation. |
|
3 | * |
|
4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
|
5 | * you may not use this file except in compliance with the License. |
|
6 | * You may obtain a copy of the License at |
|
7 | * |
|
8 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
9 | * |
|
10 | * Unless required by applicable law or agreed to in writing, software |
|
11 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13 | * See the License for the specific language governing permissions and |
|
14 | * limitations under the License. |
|
15 | */ |
|
16 | ||
17 | package org.apache.maven.plugin.eclipse.writers; |
|
18 | ||
19 | import org.apache.maven.plugin.MojoExecutionException; |
|
20 | import org.apache.maven.plugin.logging.Log; |
|
21 | ||
22 | /** |
|
23 | * @author Fabrizio Giustina |
|
24 | * @version $Id: EclipseWriter.java 424062 2006-07-20 21:04:59Z fgiust $ |
|
25 | */ |
|
26 | public interface EclipseWriter |
|
27 | { |
|
28 | /** |
|
29 | * Init this writer. |
|
30 | * @param log mojo logger. |
|
31 | * @param config writer configuration. |
|
32 | * @return the writer instance |
|
33 | */ |
|
34 | EclipseWriter init( Log log, EclipseWriterConfig config ); |
|
35 | ||
36 | /** |
|
37 | * Main method that should be implemented by the writer to do the work. |
|
38 | * @throws MojoExecutionException |
|
39 | */ |
|
40 | void write() |
|
41 | throws MojoExecutionException; |
|
42 | } |