Class ASFExtOptions
java.lang.Object
org.apache.maven.plugin.doap.options.ASFExtOptions
- All Implemented Interfaces:
Serializable
Specific ASF DOAP parameters, i.e. ASF options which make DOAP
file ASF compliant.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod addExtra.voidaddStandard(Standard standard) Method addStandard.booleanMethod equals.getChair()Get this should contain the name of the current PMC chairperson.Get every PMC is created by a board resolution with a specific charter.getExtra()Method getExtra.getName()Get the name of the PMC, including the 'Apache ', e.g.getPmc()Get the top level element within a file.Method getStandards.Get the URI of the ASFext xmlns namespace.
Default value: http://projects.apache.org/ns/asfext#.Get the ASFext xmlns prefix.
Default value: asfext.inthashCode()Method hashCode.booleanGet flag to use or not the ASF extension in the generated DOAP.voidremoveStandard(Standard standard) Method removeStandard.voidSet this should contain the name of the current PMC chairperson.voidsetCharter(String charter) Set every PMC is created by a board resolution with a specific charter.voidSet extra ASFext vocabulary as key/value, not actually defined as plugin options.voidsetIncluded(boolean included) Set flag to use or not the ASF extension in the generated DOAP.voidSet the name of the PMC, including the 'Apache ', e.g.voidSet the top level element within a file.voidsetStandards(List<Standard> standards) Set list of Standard object.voidsetXmlnsNamespaceURI(String xmlnsNamespaceURI) Set the URI of the ASFext xmlns namespace.
Default value: http://projects.apache.org/ns/asfext#.voidsetXmlnsPrefix(String xmlnsPrefix) Set the ASFext xmlns prefix.
Default value: asfext.toString()Method toString.
-
Constructor Details
-
ASFExtOptions
public ASFExtOptions()
-
-
Method Details
-
addExtra
-
addStandard
Method addStandard.- Parameters:
standard- a standard object.
-
equals
-
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:
-
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:
-
getExtra
-
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:
-
getPmc
Get the top level element within a file. Optional will be discovered from POM.
Default value: ${project.url}- Returns:
- String
- See Also:
-
getStandards
-
getXmlnsNamespaceURI
Get the URI of the ASFext xmlns namespace.
Default value: http://projects.apache.org/ns/asfext#.- Returns:
- String
-
getXmlnsPrefix
-
hashCode
-
isIncluded
public boolean isIncluded()Get flag to use or not the ASF extension in the generated DOAP.- Returns:
- boolean
-
removeStandard
Method removeStandard.- Parameters:
standard- a standard object.
-
setChair
Set this should contain the name of the current PMC chairperson. Optional.
Note: it will be discovered from ${project.developers.roles}- Parameters:
chair- a chair object.- See Also:
-
setCharter
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- a charter object.- See Also:
-
setExtra
Set extra ASFext vocabulary as key/value, not actually defined as plugin options.- Parameters:
extra- a extra object.
-
setIncluded
public void setIncluded(boolean included) Set flag to use or not the ASF extension in the generated DOAP.- Parameters:
included- a included object.
-
setName
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- a name object.- See Also:
-
setPmc
Set the top level element within a file. Optional will be discovered from POM.
Default value: ${project.url}- Parameters:
pmc- a pmc object.- See Also:
-
setStandards
-
setXmlnsNamespaceURI
Set the URI of the ASFext xmlns namespace.
Default value: http://projects.apache.org/ns/asfext#.- Parameters:
xmlnsNamespaceURI- a xmlnsNamespaceURI object.
-
setXmlnsPrefix
Set the ASFext xmlns prefix.
Default value: asfext.- Parameters:
xmlnsPrefix- a xmlnsPrefix object.
-
toString
-