1 package org.apache.maven.reporting; 2 3 18 19 import org.codehaus.doxia.sink.Sink; 20 21 import java.io.File ; 22 import java.util.Locale ; 23 24 31 public interface MavenReport 32 { 33 String ROLE = MavenReport.class.getName(); 34 35 String CATEGORY_PROJECT_INFORMATION = "Project Info"; 36 37 String CATEGORY_PROJECT_REPORTS = "Project Reports"; 38 39 void generate( Sink sink, Locale locale ) 41 throws MavenReportException; 42 43 String getOutputName(); 44 45 String getName( Locale locale ); 46 47 String getCategoryName(); 48 49 String getDescription( Locale locale ); 50 51 void setReportOutputDirectory( File outputDirectory ); 53 54 File getReportOutputDirectory(); 55 56 boolean isExternalReport(); 57 58 boolean canGenerateReport(); 59 } 60 | Popular Tags |