Class ASFExtOptions

java.lang.Object
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$ $Date$
See Also:
  • Constructor Details

    • ASFExtOptions

      public ASFExtOptions()
  • Method Details

    • addExtra

      public void addExtra(Object key, String value)
      Method addExtra.
      Parameters:
      key - a key object.
      value - a value object.
    • addStandard

      public void addStandard(Standard standard)
      Method addStandard.
      Parameters:
      standard - a standard object.
    • equals

      public boolean equals(Object other)
      Method equals.
      Overrides:
      equals in class Object
      Parameters:
      other - a other object.
      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:
    • 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:
    • getExtra

      public Map<Object,String> 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:
    • 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:
    • 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 - a standard object.
    • 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 - a chair object.
      See Also:
    • 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 - a charter object.
      See Also:
    • setExtra

      public void setExtra(Map extra)
      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

      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 - a name object.
      See Also:
    • 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 - a pmc object.
      See Also:
    • setStandards

      public void setStandards(List<Standard> standards)
      Set list of Standard object. Optional.
      Parameters:
      standards - a standards object.
      See Also:
    • setXmlnsNamespaceURI

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

      public void setXmlnsPrefix(String xmlnsPrefix)
      Set the ASFext xmlns prefix.
      Default value: asfext.
      Parameters:
      xmlnsPrefix - a xmlnsPrefix object.
    • toString

      public String toString()
      Method toString.
      Overrides:
      toString in class Object
      Returns:
      String