View Javadoc

1   package org.apache.maven.tools.plugin.util.stubs;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *  http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  import java.io.File;
23  import java.util.Locale;
24  import java.util.Map;
25  
26  import org.apache.maven.doxia.siterenderer.Renderer;
27  import org.apache.maven.plugin.MojoExecutionException;
28  import org.apache.maven.plugin.logging.Log;
29  import org.apache.maven.project.MavenProject;
30  import org.apache.maven.reporting.AbstractMavenReport;
31  import org.apache.maven.reporting.MavenReportException;
32  import org.codehaus.doxia.sink.Sink;
33  
34  /**
35   * Dummy report.
36   *
37   * @goal dummyReport
38   * @version $Id: MavenReportStub.java 638333 2008-03-18 11:39:14Z bentmann $
39   */
40  public class MavenReportStub
41      extends AbstractMavenReport
42  {
43      /** {@inheritDoc} */
44      public boolean canGenerateReport()
45      {
46          return super.canGenerateReport();
47      }
48  
49      /** {@inheritDoc} */
50      protected void closeReport()
51      {
52          super.closeReport();
53      }
54  
55      /** {@inheritDoc} */
56      public void execute()
57          throws MojoExecutionException
58      {
59          super.execute();
60      }
61  
62      /** {@inheritDoc} */
63      protected void executeReport( Locale locale )
64          throws MavenReportException
65      {
66  
67      }
68  
69      /** {@inheritDoc} */
70      public void generate( Sink sink, Locale locale )
71          throws MavenReportException
72      {
73          super.generate( sink, locale );
74      }
75  
76      /** {@inheritDoc} */
77      public String getCategoryName()
78      {
79          return super.getCategoryName();
80      }
81  
82      /** {@inheritDoc} */
83      protected String getOutputDirectory()
84      {
85          return null;
86      }
87  
88      /** {@inheritDoc} */
89      protected MavenProject getProject()
90      {
91          return null;
92      }
93  
94      /** {@inheritDoc} */
95      public File getReportOutputDirectory()
96      {
97          return super.getReportOutputDirectory();
98      }
99  
100     /** {@inheritDoc} */
101     public org.apache.maven.doxia.sink.Sink getSink()
102     {
103         return super.getSink();
104     }
105 
106     /** {@inheritDoc} */
107     protected Renderer getSiteRenderer()
108     {
109         return null;
110     }
111 
112     /** {@inheritDoc} */
113     public boolean isExternalReport()
114     {
115         return super.isExternalReport();
116     }
117 
118     /** {@inheritDoc} */
119     public void setReportOutputDirectory( File reportOutputDirectory )
120     {
121         super.setReportOutputDirectory( reportOutputDirectory );
122     }
123 
124     /** {@inheritDoc} */
125     public Log getLog()
126     {
127         return super.getLog();
128     }
129 
130     /** {@inheritDoc} */
131     public Map getPluginContext()
132     {
133         return super.getPluginContext();
134     }
135 
136     /** {@inheritDoc} */
137     public void setLog( Log log )
138     {
139         super.setLog( log );
140     }
141 
142     /** {@inheritDoc} */
143     public void setPluginContext( Map pluginContext )
144     {
145         super.setPluginContext( pluginContext );
146     }
147 
148     /** {@inheritDoc} */
149     public String getDescription( Locale locale )
150     {
151         return null;
152     }
153 
154     /** {@inheritDoc} */
155     public String getName( Locale locale )
156     {
157         return null;
158     }
159 
160     /** {@inheritDoc} */
161     public String getOutputName()
162     {
163         return null;
164     }
165 
166     /** {@inheritDoc} */
167     protected Object clone()
168         throws CloneNotSupportedException
169     {
170         return super.clone();
171     }
172 
173     /** {@inheritDoc} */
174     public boolean equals( Object obj )
175     {
176         return super.equals( obj );
177     }
178 
179     /** {@inheritDoc} */
180     protected void finalize()
181         throws Throwable
182     {
183         super.finalize();
184     }
185 
186     /** {@inheritDoc} */
187     public int hashCode()
188     {
189         return super.hashCode();
190     }
191 
192     /** {@inheritDoc} */
193     public String toString()
194     {
195         return super.toString();
196     }
197 }