org.apache.maven.plugin.doap.options
Class ASFExtOptions

java.lang.Object
  extended by org.apache.maven.plugin.doap.options.ASFExtOptions
All Implemented Interfaces:
Serializable

public class ASFExtOptions
extends Object
implements Serializable

Specific ASF DOAP parameters, i.e. ASF options which make DOAP file ASF compliant.

Version:
$Revision: 815337 $ $Date: 2012-05-01 21:52:10 +0000 (Tue, 01 May 2012) $
See Also:
http://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/asfext, http://projects.apache.org/docs/pmc.html, http://projects.apache.org/docs/standards.html, Serialized Form

Constructor Summary
ASFExtOptions()
           
 
Method Summary
 void addExtra(Object key, String value)
          Method addExtra.
 void addStandard(Standard standard)
          Method addStandard.
 boolean equals(Object other)
          Method equals.
 String getChair()
          Get this should contain the name of the current PMC chairperson.
 String getCharter()
          Get every PMC is created by a board resolution with a specific charter.
 Map getExtra()
          Method getExtra.
 String getName()
          Get the name of the PMC, including the 'Apache ', e.g.
 String getPmc()
          Get the top level element within a file.
 List<Standard> getStandards()
          Method getStandards.
 String getXmlnsNamespaceURI()
          Get the URI of the ASFext xmlns namespace.
 String getXmlnsPrefix()
          Get the ASFext xmlns prefix.
 int hashCode()
          Method hashCode.
 boolean isIncluded()
          Get flag to use or not the ASF extension in the generated DOAP.
 void removeStandard(Standard standard)
          Method removeStandard.
 void setChair(String chair)
          Set this should contain the name of the current PMC chairperson.
 void setCharter(String charter)
          Set every PMC is created by a board resolution with a specific charter.
 void setExtra(Map extra)
          Set extra ASFext vocabulary as key/value, not actually defined as plugin options.
 void setIncluded(boolean included)
          Set flag to use or not the ASF extension in the generated DOAP.
 void setName(String name)
          Set the name of the PMC, including the 'Apache ', e.g.
 void setPmc(String pmc)
          Set the top level element within a file.
 void setStandards(List<Standard> standards)
          Set list of Standard object.
 void setXmlnsNamespaceURI(String xmlnsNamespaceURI)
          Set the URI of the ASFext xmlns namespace.
 void setXmlnsPrefix(String xmlnsPrefix)
          Set the ASFext xmlns prefix.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASFExtOptions

public ASFExtOptions()
Method Detail

addExtra

public void addExtra(Object key,
                     String value)
Method addExtra.

Parameters:
key -
value -

addStandard

public void addStandard(Standard standard)
Method addStandard.

Parameters:
standard -

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getChair

public String getChair()
Get this should contain the name of the current PMC chairperson. Optional.
Note: it will be discovered from ${project.developers.roles}

Returns:
String
See Also:
http://projects.apache.org/docs/pmc.html

getCharter

public String getCharter()
Get every PMC is created by a board resolution with a specific charter. That charter should be listed here as it gives the focus and scope of the PMC. Optional.

Returns:
String
See Also:
http://projects.apache.org/docs/pmc.html

getExtra

public Map getExtra()
Method getExtra.

Returns:
Map

getName

public String getName()
Get the name of the PMC, including the 'Apache ', e.g. 'Apache Forrest'. Optional will be discovered from POM.
Default value: ${project.name}

Returns:
String
See Also:
http://projects.apache.org/docs/pmc.html

getPmc

public String getPmc()
Get the top level element within a file. Optional will be discovered from POM.
Default value: ${project.url}

Returns:
String
See Also:
http://projects.apache.org/docs/pmc.html

getStandards

public List<Standard> getStandards()
Method getStandards.

Returns:
List

getXmlnsNamespaceURI

public String getXmlnsNamespaceURI()
Get the URI of the ASFext xmlns namespace.
Default value: http://projects.apache.org/ns/asfext#.

Returns:
String

getXmlnsPrefix

public String getXmlnsPrefix()
Get the ASFext xmlns prefix.
Default value: asfext.

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

isIncluded

public boolean isIncluded()
Get flag to use or not the ASF extension in the generated DOAP.

Returns:
boolean

removeStandard

public void removeStandard(Standard standard)
Method removeStandard.

Parameters:
standard -

setChair

public void setChair(String chair)
Set this should contain the name of the current PMC chairperson. Optional.
Note: it will be discovered from ${project.developers.roles}

Parameters:
chair -
See Also:
http://projects.apache.org/docs/pmc.html

setCharter

public void setCharter(String charter)
Set every PMC is created by a board resolution with a specific charter. That charter should be listed here as it gives the focus and scope of the PMC. Optional.

Parameters:
charter -
See Also:
http://projects.apache.org/docs/pmc.html

setExtra

public void setExtra(Map extra)
Set extra ASFext vocabulary as key/value, not actually defined as plugin options.

Parameters:
extra -

setIncluded

public void setIncluded(boolean included)
Set flag to use or not the ASF extension in the generated DOAP.

Parameters:
included -

setName

public void setName(String name)
Set the name of the PMC, including the 'Apache ', e.g. 'Apache Forrest'. Optional will be discovered from POM.
Default value: ${project.name}

Parameters:
name -
See Also:
http://projects.apache.org/docs/pmc.html

setPmc

public void setPmc(String pmc)
Set the top level element within a file. Optional will be discovered from POM.
Default value: ${project.url}

Parameters:
pmc -
See Also:
http://projects.apache.org/docs/pmc.html

setStandards

public void setStandards(List<Standard> standards)
Set list of Standard object. Optional.

Parameters:
standards -
See Also:
http://projects.apache.org/docs/standards.html

setXmlnsNamespaceURI

public void setXmlnsNamespaceURI(String xmlnsNamespaceURI)
Set the URI of the ASFext xmlns namespace.
Default value: http://projects.apache.org/ns/asfext#.

Parameters:
xmlnsNamespaceURI -

setXmlnsPrefix

public void setXmlnsPrefix(String xmlnsPrefix)
Set the ASFext xmlns prefix.
Default value: asfext.

Parameters:
xmlnsPrefix -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.