org.apache.maven.model
Class ReportSet

java.lang.Object
  extended by org.apache.maven.model.ReportSet
All Implemented Interfaces:
Serializable

public class ReportSet
extends Object
implements Serializable

Represents a set of reports and configuration to be used to generate them.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
ReportSet()
           
 
Method Summary
 void addReport(String string)
          Method addReport.
 Object getConfiguration()
          Get configuration of the report to be used when generating this set.
 String getId()
          Get the unique id for this report set, to be used during POM inheritance.
 String getInherited()
          Get whether any configuration should be propagated to child POMs.
 String getModelEncoding()
           
 List getReports()
          Method getReports.
 boolean isInheritanceApplied()
           
 void removeReport(String string)
          Method removeReport.
 void setConfiguration(Object configuration)
          Set configuration of the report to be used when generating this set.
 void setId(String id)
          Set the unique id for this report set, to be used during POM inheritance.
 void setInherited(String inherited)
          Set whether any configuration should be propagated to child POMs.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setReports(List reports)
          Set the list of reports from this plugin which should be generated from this set.
 void unsetInheritanceApplied()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportSet

public ReportSet()
Method Detail

addReport

public void addReport(String string)
Method addReport.

Parameters:
string -

getConfiguration

public Object getConfiguration()
Get configuration of the report to be used when generating this set.

Returns:
Object

getId

public String getId()
Get the unique id for this report set, to be used during POM inheritance.

Returns:
String

getInherited

public String getInherited()
Get whether any configuration should be propagated to child POMs.

Returns:
String

getReports

public List getReports()
Method getReports.

Returns:
java.util.List

removeReport

public void removeReport(String string)
Method removeReport.

Parameters:
string -

setConfiguration

public void setConfiguration(Object configuration)
Set configuration of the report to be used when generating this set.

Parameters:
configuration -

setId

public void setId(String id)
Set the unique id for this report set, to be used during POM inheritance.

Parameters:
id -

setInherited

public void setInherited(String inherited)
Set whether any configuration should be propagated to child POMs.

Parameters:
inherited -

setReports

public void setReports(List reports)
Set the list of reports from this plugin which should be generated from this set.

Parameters:
reports -

unsetInheritanceApplied

public void unsetInheritanceApplied()

isInheritanceApplied

public boolean isInheritanceApplied()

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.